* { margin: 0; padding: 0; outline:0; }

html, body { height: 100%; }

body {
  font-size: 20px;
  line-height: 27px;
  font-family: "Avenir", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #454545;
  background: #ffffff;
}

a { color: #0072b4; text-decoration: underline; cursor:pointer; }
a:hover { color: #000; text-decoration: none; }
a img { border: 0; }

input, textarea, select { font-family: Arial, Helvetica, sans-serif; font-size:12px; }
textarea { overflow:hidden; }

.cl { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; }
.notext { font-size: 0; line-height: 0; text-indent: -4000px; }

.left, .alignleft { float: left; display: inline; }
.right, .alignright { float: right; display: inline; }

#wrapper { }

.shell {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  background: #ffffff;
  box-sizing: border-box;
}

.last { margin-right: 0 !important; }

/* HEADINGS */

h1,h2,h3,h4,h5 { font-weight: normal; }

h1 { font-size: 26px; line-height: 30px; }
h2 { font-size: 23px; line-height: 28px; }
h3 { font-size: 22px; line-height: 28px; font-weight: 600; margin: 18px 0 8px 0; }
h4 { font-size: 18px; line-height: 22px; }
h5 { font-size: 16px; line-height: 20px; }
h6 { font-size: 13px; color: #027bc0; line-height: 16px; }

h2.title {
  color: #f28c28;
  border-bottom: 2px solid #d1d1d1;
  padding-bottom: 6px;
  margin-bottom: 7px;
  text-decoration: none;
}

h2.title img.icon {
  vertical-align: middle;
  margin-right: 6px;
  width: 20px;
  height: 20px;
  opacity: 0.9;
}

/* TOP ICON STRIP */

.top-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 12px 0;
}

.top-icon-link {
  display: inline-block;
  text-decoration: none;
  position: relative;
}

.top-icon-link img {
  width: 40px;
  height: 40px;
  display: block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.top-icon-link:hover img {
  transform: translateY(-2px);
  opacity: 0.85;
}

.top-icon-link:active img {
  transform: scale(0.92);
  opacity: 0.75;
}

.top-icon-link.active img {
  opacity: 1 !important;
  transform: none !important;
}

.top-icon-link.active:hover img,
.top-icon-link.active:active img {
  opacity: 1 !important;
  transform: none !important;
}

/* TOP NAV TOOLTIP */

.top-icon-link::after {
  content: attr(aria-label);
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
}

.top-icon-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

/* HEADER AND LOGO */

#header {
  z-index: 100;
  padding-top: 20px;
  margin-bottom: 10px;
}

h1#logo {
  float: left;
  display: inline;
  width: 420px;
  height: 100px;
  margin: 0 0 0 10px;
}

h1#logo a {
  display: block;
  height: 100px;
  background: url(images/logo2mentor.jpg) no-repeat 0 0;
}

/* HERO SECTION */

.hero {
  position: relative;
  height: 210px;
  color: #ffffff;
  overflow: hidden;
  border-radius: 7px;
  margin-bottom: 20px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero-inner {
  position: absolute;
  top: 22px;
  left: 30px;
  max-width: 800px;
  text-align: left;
  z-index: 1;
}

.hero-inner h1 {
  font-family: "Avenir", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 4.5vw, 44px);
  line-height: 1.1;
  color: #ffffff;
  transform: none;
  transform-origin: left center;
  letter-spacing: 0;
}

.hero-inner p {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero { height: 300px; }
    body:not(.home) .hero-inner { top: 10px; left: 10px; right: 28px; }
.hero-inner h1 {
  font-family: "Avenir", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 4.5vw, 44px);
  line-height: 1.1;
  color: #ffffff;
  transform: none;
  transform-origin: left center;
  letter-spacing: 0;
}
  .hero-inner p { font-size: 14px; }
}

/* HOME PAGE, ABOUT STRIP */

.about-strip {
  width: 100%;
  background: transparent;
  border-top: 1px solid #e7e7e7;
  border-bottom: none;
  margin: 16px 0 22px 0;
}


.about-strip-inner {
  padding: 18px 0;
}

.about-strip-title {
  margin: 0 0 12px 0;
  color: #f28c28;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.25;
}

.about-strip-text {
  margin: 0 0 12px 0;
  font-size: 24px;
  line-height: 1.7;
  color: #2f2f2f;
}

.about-strip-points {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #666666;
  font-weight: 700;
}

@media (max-width: 640px) {
  .about-strip-inner { padding: 14px 0; }
  .about-strip-title { font-size: 20px; }
  .about-strip-text { font-size: 16px; }
}

/* FEATURE BOXES */

.feature-box {
  border: 1px solid #e3e3e3;
  border-radius: 7px;
  padding: 16px 20px;
  margin: 24px 20px 0;
  background: #f2f2f2;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.feature-box:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.feature-title {
  color: #f28c28;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  line-height: 1.3;
  border-bottom: none;
  font-weight: 700;
}

.feature-title .icon {
  width: 32px;
  height: 32px;
}

.feature-icon-large {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
  object-fit: contain;
}

.feature-box p {
  margin: 0 0 16px 0;
  font-size: 20px;
  line-height: 1.7;
}

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

.feature-box ul {
  line-height: 1.6;
}

.feature-box ul li {
  margin-bottom: 10px;
}

/* HOME PAGE, FEATURE BOX LEDE (scoped) */

.home-feature p:first-of-type {
  font-weight: 600;
  color: #2f2f2f;
}

/* HOME PAGE, FEATURE IMAGE (banner) */

.feature-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0 28px 0;
  display: block;
}


.home-feature .feature-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 12px 0 14px 0;
  border-radius: 5px;
}


/* MORE BUTTON */

.more-link {
  text-align: right;
  margin-top: 8px;
}

.more-btn {
  display: inline-block;
  padding: 6px 18px;
  font-size: 15px;
  line-height: 1.3;
  border-radius: 999px;
  background: #7d35b0;
  color: #ffffff !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease-in-out;
}

.more-btn:hover {
  background: #652ca0;
  color: #ffffff !important;
}

.more-btn:active {
  background: #000000;
  color: #ffffff !important;
}

/* --------------------------------------------------
   Global CTA Buttons (Learn Something New campaign)
-------------------------------------------------- */

.cta-button {
  display: inline-block;
  padding: 12px 26px;
  margin: 12px 0;
  background: #f28c28;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  border-radius: 100px;
  border: none;
  transition: background 0.18s ease, transform 0.12s ease;
  cursor: pointer;
}

.cta-button:hover,
.cta-button:focus {
  background: #000000;
  color: #ffffff !important;
  text-decoration: none !important;
}

.cta-button:active {
  transform: scale(0.98);
}

/* Editorial thin divider (replaces wiggly separator) */

.thin-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 40px 0;
}


/* GENERIC CONTENT STYLES */

.entry { margin-bottom: 20px; }
.entry h6.style-title { margin-bottom: 10px; }
.entry p { margin-bottom: 20px; }
.entry ul, .entry ol { padding: 0 0 0 20px; }
.entry table { border-collapse:collapse; margin-bottom:50px; }

.entry th {
  border:solid 1px #fff;
  background:#027bc0;
  color:#fff;
  padding:3px 10px;
  text-align: center;
}

.entry td {
  border:solid 1px #fff;
  padding:3px 10px;
  text-align: center;
  background:#ececec;
  color: #454545;
  font-weight: bold;
}

.entry td a { color:#454545; text-decoration: underline; }
.entry td a:hover { color:#8d2c2d; text-decoration: none; }

.entry blockquote {
  border-left: 4px solid #027bc0;
  font-style: italic;
  padding-left: 15px;
}

.entry a.images {
  display: block;
  border: 4px solid #d4d4d4;
  margin-bottom: 10px;
}

.entry .more {
  display: block;
  font-size:11px;
  line-height: 15px;
  font-weight: bold;
  background: url(images/blue-arrow.gif) no-repeat 0 6px;
  padding-left: 9px;
  text-decoration: underline;
}

.entry .more:hover { color: #000; text-decoration: none; }

.text-styles { color: #000; }
.styles-form { padding-top: 10px;}
.styles-form .row { width: 470px; }
.styles-form .row label { width: 30px; text-align: left; }
.styles-form .row .submit-btn { float: left; display: inline; margin-left: 40px; }


/* HOME PAGE, GRID BOUNDS AND SPACING (home-only) */

/* On the home page we want the feature boxes to align to the same left/right bounds.
   The global .feature-box has left/right margins for older single-column pages.
   Here we remove those side margins and let the grid and shell padding do the work. */
.home #main-layout {
  padding-left: 0;
  padding-right: 0;
}

.home #main-layout .main-col,
.home #main-layout .side-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Remove the global margin on feature boxes inside the home grid */
.home #main-layout .feature-box {
  margin: 0;
}

/* Lighter emphasis in home feature lede line */
.home .home-feature p:first-of-type {
  font-weight: 500;
}


/* MAIN TWO COLUMN LAYOUT FOR HOME PAGE */

#main-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.main-col { flex: 7; }
.side-col { flex: 3; }

@media (max-width: 800px) {
  #main-layout { flex-direction: column; }
  .main-col, .side-col { flex: 1 1 auto; }
}

/* OLD FLOAT LAYOUT */

#main { padding-top: 0; padding-bottom:20px; height: 100%; }

.col { float: left; display: inline; margin-right: 43px;  }
.col-2 { width: 267px; margin-right: 22px ; }
.col-3 { width: 279px; }

#content { width: 624px; }
#content.cols { float: left; display: inline;  width: 558px !important; }

#sidebar { width: 280px; }
#sidebar .col { float: none; display: block;}
#sidebar.cols-4 { width: 343px !important; }

/* LOVE PAGE, STORY GALLERY */

.story-gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.story-thumb {
  /* grid item */
}

.story-thumb a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.story-thumb a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

.story-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .story-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .story-gallery { grid-template-columns: 1fr; }
}



/* LOVE PAGE, PHASE AND FUNDING CALLOUT */

.phase-callout {
  margin: 20px 0 24px 0;
  padding: 12px 16px;
  background: #ffffff;
  border-left: 4px solid #f28c28;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}

.phase-title {
  margin: 0 0 8px 0;
  font-weight: 800;
  color: #f28c28;
  letter-spacing: 0.2px;
}

.phase-callout p {
  margin: 0px 0px 10px 0;
  font-size: 15px;
  line-height: 1.6;
}

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

  margin-top:30;
}

/* TESTIMONIAL BLOCK */

.testimonial {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.testimonial-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.testimonial-image img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-name {
  font-size: 14px;
  color: #666666;
}

@media (max-width: 600px) {
  .testimonial-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* FOOTER */

#footer {
  background: #111111;
  color: #dddddd;
  padding: 40px 0 30px;
  margin-top: 40px;
}

#footer .shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  background: none;
}

.footer-cols-b {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 20px;
}

.footer-cols .col {
  flex: 1 1 0;
  min-width: 220px;
  color: #cccccc;
  font-size: 14px;
}

.footer-cols .col h5 {
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-cols .col p {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #dddddd;
}

.footer-bottom {
  border-top: 1px solid #333333;
  margin-top: 20px;
  padding-top: 14px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  font-size: 12px;
  line-height: 1.2;
  color: #bbbbbb;
}

.footer-bottom a {
  color: #bbbbbb;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .footer-cols-b {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .footer-left,
  .footer-centre,
  .footer-right {
    flex: none;
    width: 100%;
    text-align: left;
  }

  .websnax-mark {
    justify-content: flex-start;
  }
}


.footer-left {
  justify-self: start;
}

.footer-centre {
  justify-self: center;
  text-align: center;
}

.footer-right {
  justify-self: end;
  text-align: right;
}


.websnax-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.75;
}

.websnax-mark img {
  height: 22px;
  width: auto;
  display: block;
}

.websnax-text {
  position: relative;
  top: -1px;
}

/* MANIFEST LINE – CODE-LIKE PRINCIPLES */

.manifest-line {
  font-size: 20px !important;
}


.manifest-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 90px;
  line-height: 3;
  letter-spacing: 0.6px;
  color: #f9f7f7;
  margin: 0 0 14px 0;
}

.love-page .section-divider img {
  opacity: 0.6;
}

.section-divider {
  opacity: 0.6;
}

.section-divider img {
  display: block;
  max-width: 100%;
  max-height: 90px;     /* roughly 25% smaller */
  width: auto;
  height: auto;
  margin: 30px auto;
  transform: translateX(30px);
}


/* CONTACT PAGE */

.contact-card {
  display: block;
}

.contact-hero {
  text-align: center;
  margin: 0 0 16px 0;
}

.contact-hero-img {
  height: 320px;          /* adjust 280–360 to taste */
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: inline-block;
  border-radius: 6px;
}

.contact-details h3 { font-size: 22px; line-height: 28px; font-weight: 600; margin: 18px 0 8px 0; }

.contact-details p {
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 1.7;
}

.contact-lines {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 700;
}

.contact-lines strong {
  color: #2f2f2f;
}

@media (max-width: 720px) {
  .contact-hero-img {
    height: 240px;
  }
}


.contact-details h3 { font-size: 22px; line-height: 28px; font-weight: 600; margin: 18px 0 8px 0; }

.contact-details p {
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 1.7;
}

.contact-lines {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 700;
}

.contact-lines strong {
  color: #2f2f2f;
}

@media (max-width: 720px) {
  .contact-card {
    flex-direction: column;
  }

  .contact-avatar {
    width: 200px;
    max-width: 70%;
  }
}
/* FORCE CONTACT PORTRAIT SIZE */

img.contact-avatar {
  width: 200px !important;
  max-width: 200px !important;
  height: auto !important;
  border-radius: 5px;
}

/* Statement-style feature boxes (Chat / prompts) */
.feature-box.statement,
.feature-box.chat-item {
  padding-top: 28px;
  padding-bottom: 28px;
}

.feature-box.statement p,
.feature-box.chat-item p {
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}


html { scroll-behavior: smooth; }



/* PROFILE BLOBS (inside top feature box) */

.profile-blobs{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 900px){
  .profile-blobs{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px){
  .profile-blobs{ grid-template-columns: 1fr; }
}

.profile-blob{
  display: block;
  text-align: center;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
}

.profile-portrait{
  width: 88px;
  height: 88px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px auto;
  border: 1px solid #e3e3e3;
}

.profile-name{
  font-size: 22px;
  line-height: 1.15;
  font-weight: bold;
  color: #2f2f2f;
  margin: 0 0 4px 0;
}

.profile-cap{
  font-size: 12px;
  line-height: 1.25;
  color: #6a6a6a;
  margin: 0;
}

/* STORY LAYOUT, headline + hero + byline + gallery + content + testimonial + up arrow */

.feature-box{
  position: relative;
}

.feature-box[id^="story-"]{
  padding-bottom: 78px; /* space for the bottom-right up button */
}


.story-headline{
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 14px 0;
  color: #111;
}

.story-hero{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
  margin: 0 0 10px 0;
}

.story-byline{
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 0 0 14px 0;
}

.story-person{
  font-size: 22px;
  font-weight: bold;
  color: #2f2f2f;
}

.story-org{
  font-size: 15px;
  color: #6a6a6a;
  font-weight: bold;
}

.story-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px 0;
}

@media (max-width: 900px){
  .story-gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px){
  .story-gallery{ grid-template-columns: 1fr; }
}

.story-gallery a{
  display: block;
}

.story-gallery img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}

/* Up arrow inside story box */
.story-up{
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  background-image: url('images/up.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.story-up:hover{
  background-image: url('images/up_Active.png');
  transform: translateY(-2px);
}

.story-up:active{
  transform: scale(0.97);
}


.story-up::after{
  content: attr(aria-label);
  position: absolute;
  right: 50%;
  bottom: 58px;
  transform: translateX(50%);
  background: #000000;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
}

.story-up:hover::after{
  opacity: 1;
  transform: translateX(50%) translateY(-2px);
}



/* SECTION DIVIDER */

.section-divider{
  max-width: 900px;     /* set this to whatever your story wrapper max-width is */
  margin: 0 auto;
  padding: 0px 0px;
  box-sizing: border-box;
}

.section-divider img{
  display:block;
  width:100%;
  height:auto;
}




/* STORY GALLERY – forced 3-across (overrides any older rules) */
.feature-box .story-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.feature-box .story-gallery > a,
.feature-box .story-gallery > .story-thumb {
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .feature-box .story-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .feature-box .story-gallery {
    grid-template-columns: 1fr !important;
  }
}

/* LOVE PAGE – SECTION DIVIDER (final override)
   Keeps the wiggly line inside the shell bounds, and adds breathing space. */
.section-divider{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-top: 55px;
  padding-bottom: 34px;
  overflow: hidden;
}

.section-divider img{
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  transform: none;
}

/* ------------------------------
   Homepage feature box spacing
   ------------------------------ */

   .home {
    --home-feature-space: 24px;
  }
  
  .home .feature-box {
    padding: var(--home-feature-space);
  }
  
  .home .features-right {
    display: flex;
    flex-direction: column;
    gap: var(--home-feature-space);
  }
  
  .home .features-right .feature-box {
    margin: 0;
  }
  



/* HOME PAGE, HERO IMAGE AS FINISHED ASSET (home-only)
   Keep the hero inside the shell margins, but stop adding card padding
   or crop behaviour around an image that already contains its own frame.
*/
.home .hero {
  height: auto;
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
  display: block;
  border-radius: 0;
  overflow: visible;
}

.home .hero-inner {
  position: relative;
  top: auto;
  left: auto;
  max-width: 800px;
}

.home .hero .hero-bg{
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
}

.home .hero::before{
  display: none;
}
/* =========================================================
   CONTACT PAGE, IMAGE CONTAINMENT + PROFILE LAYOUT (contact-only)
   Prevent hero/feature images from overflowing feature-box bounds.
   Keeps Love.html safe by scoping to .page-contact
   ========================================================= */
.page-contact .feature-box{
  overflow: hidden;
}

.page-contact .feature-box .feature-image{
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 18px 0 22px;
}

/* Profile section: image + text side-by-side, wrap on small screens */
.page-contact .contact-profile{
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.page-contact .contact-profile > img{
  display: block;
  max-width: 460px;
  width: 45%;
  min-width: 260px;
  height: auto;
}

.page-contact .contact-profile > div{
  flex: 1 1 320px;
  min-width: 280px;
}


/* =========================================================
   CONTACT PAGE – Profile image framed to left column (contact-only)
   Fits illustration to column, enforces aspect ratio,
   and crops overflow (removes extended hand reach)
   ========================================================= */
   .page-contact .contact-profile > img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3.3 / 3;
    object-fit: cover;
    object-position: left center;
    border-radius: 12px;
    display: block;
  }

  .page-contact .contact-profile > img {
    margin-left: -6px;
  }

/* =========================================================
   CHAT PAGE – Statements grid (chat.html only)
   Removes separators, uses a responsive 3-across grid,
   makes statements smaller, and cards taller.
   ========================================================= */

.page-chat .chat-grid{
  margin: 24px 20px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Feature boxes already have margins globally, remove them inside the grid */
.page-chat .chat-grid .feature-box{
  margin: 0;
}

/* Make each statement box square and centre the text nicely */
.page-chat a.chat-card{
  text-decoration: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

/* Smaller statement text (scoped) */
.page-chat .chat-quote{
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  color: #2f2f2f;
}

/* Responsive: 2 across, then 1 */
@media (max-width: 900px){
  .page-chat .chat-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px){
  .page-chat .chat-grid{ grid-template-columns: 1fr; }
  .page-chat a.chat-card{ aspect-ratio: 1 / 1; }
}


/* -------------------------------------------------
   LOVE PAGE – Profile blob animation (revised)
   Animate the blob wrapper (not the image) so hover scale works too
   ------------------------------------------------- */

@keyframes blobFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Idle float on the whole blob tile */
.profile-blob{
  animation: blobFloat 4.2s ease-in-out infinite;
  will-change: transform;
}

/* Slight stagger so grid feels organic */
.profile-blob:nth-child(2n){ animation-delay: 0.3s; }
.profile-blob:nth-child(3n){ animation-delay: 0.6s; }

/* Hover / focus interaction on the portrait itself */
.profile-portrait{
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.profile-blob:hover .profile-portrait,
.profile-blob:focus .profile-portrait{
  transform: scale(1.07);
}

/* Respect reduced-motion user preference */
@media (prefers-reduced-motion: reduce) {
  .profile-blob{ animation: none; }
  .profile-portrait{ transition: none; }
}



/* =========================================================
   MOBILE LOGO REDUCTION (Task 1)
   Final production rule — 30% smaller
   ========================================================= */
   @media (hover: none) and (pointer: coarse) {

    h1#logo{
      width: 294px;
      height: 70px;
      margin: 0 0 0 10px;
    }
  
    h1#logo a{
      height: 70px;
      background-size: auto 70px;
    }
  
  }
/* =========================================================
   MOBILE HORIZONTAL ALIGNMENT – FINAL TUNE
   ========================================================= */
   @media (max-width: 640px) {

    .shell{
      padding-left: 12px;
      padding-right: 12px;
    }
  
    .feature-box{
      margin-left: 5px !important;
      margin-right: 5px !important;
    }
  
    .page-chat .chat-grid{
      margin-left: 5px !important;
      margin-right: 5px !important;
    }
  
  }

  
  
  
  
  
  
  



/* --------------------------------------------------
   HeroSet
   Natural widths, programmed height
   Responsive vertical stack
-------------------------------------------------- */

.hero-set {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
}

.hero-set a {
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
}

/* Natural width, fixed height for visual harmony */
.hero-set img {
  height: 260px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* Responsive behaviour */
@media (max-width: 760px) {
  .hero-set {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }

  .hero-set img {
    height: auto;
    width: 100%;
    max-width: 520px;
  }
}


/* Match Feature Box radius for HeroSet images */
.hero-set img {
  border-radius: 7px;
  overflow: hidden;
}


/* Ensure HeroSet rounded corners actually clip images */
.hero-set a {
  border-radius: 7px;
  overflow: hidden;
}


/* Star: offer apply button (image skin, no layout shift) */
.page-star .offer-apply-row{
  margin-top: 12px;
  text-align: right;
}

.page-star .offer-apply-btn{
  display: inline-block;
  width: 300px;
  height: 88px;
  background-image: url('images/offer-apply.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 999px;
}

.page-star .offer-apply-btn:hover,
.page-star .offer-apply-btn:focus{
  background-image: url('images/offer-apply_active.png');
  outline: none;
}


/* =========================================================
   Star page scoped tweaks (safe, no global side effects)
   - Apply pill smaller (background swap, no reflow)
   - HeroSet nudged up slightly
   - Clickable image cue: opacity-only (no lift, no scale)
========================================================= */

/* Nudge the hero bundle up slightly on Star only */
.page-star .story-hero-bundle{
  margin-top: 0;
}

/* Offer apply button (single element, background swap) */
.page-star .offer-apply-row{
  margin-top: 12px;
  text-align: right;
}

.page-star .offer-apply-btn{
  display: inline-block;
  width: 260px;      /* ~half-size feel */
  height: 58px;
  background-image: url("images/offer-apply.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 999px;
}

.page-star .offer-apply-btn:hover,
.page-star .offer-apply-btn:focus{
  background-image: url("images/offer-apply_active.png");
  outline: none;
}

/* Clickable image cue (Fancybox targets), opacity only */
.page-star a[data-fancybox] img,
.page-star .story-lightbox img,
.page-star .gallery a img{
  transition: opacity 120ms ease;
}

.page-star a[data-fancybox]:hover img,
.page-star .story-lightbox:hover img,
.page-star .gallery a:hover img{
  opacity: 0.92;
}


/* -----------------------------------------
   Clickable image affordance
   Subtle border + slight opacity
   (Star page only, calm + discoverable)
------------------------------------------ */

.page-star a[data-fancybox] img,
.page-star .story-lightbox img,
.page-star .gallery a img{
  transition: opacity 120ms ease, border-color 120ms ease;
  border: 1px solid transparent;
}

.page-star a[data-fancybox]:hover img,
.page-star .story-lightbox:hover img,
.page-star .gallery a:hover img{
  opacity: 0.95;
  border-color: rgba(0,0,0,0.18);
}

/* Learn Something New - platform visual */

.platform-visual {
  margin: 22px 0 26px 0;
  text-align: center;
}

.platform-visual img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
}

