.w-form-fail[hidden],
.w-form-done[hidden],
.sg-form-error[hidden],
.sg-form-success[hidden] {
  display: none !important;
}

.sg-form-success:not([hidden]),
.sg-contact-success:not([hidden]) {
  display: block !important;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-cta-section a {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Bigger SG logo — match Rian reference */
.nav2_logo {
  max-width: 5em !important;
  height: 3.75em !important;
}

.nav2_logo svg {
  width: 100%;
  height: 100%;
}

.logo {
  height: 3.75em;
}

/* Hero CTA — small, left-aligned like Rian */
.button-secondary.button-hero {
  align-self: flex-start;
  width: auto;
  min-width: 0;
  padding: 0.55em 1.35em;
  font-size: 0.875em;
  font-weight: 600;
}

/* Square hero image — match Rian reference */
.secton-home_hero .hero_image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.75em;
  width: 100%;
  display: block;
}

/* More whitespace — match Rian reference */
.secton-home_hero {
  min-height: 92vh;
  padding-bottom: 8em;
}

.secton-home_hero .hero_grid {
  grid-column-gap: 7em;
}

.section_home-info {
  padding-top: 8em;
  padding-bottom: 2em;
}

.section_home-info + .section_home-info {
  padding-top: 6em;
}

.section-backstory {
  padding-top: 4em;
  padding-bottom: 8em;
}

.section_home-education {
  padding-top: 9em;
  padding-bottom: 8em;
}

.section-building {
  padding-top: 6em;
  padding-bottom: 7em;
}

.section-about {
  padding-top: 5em;
  padding-bottom: 4em;
}

.section-tedx {
  padding-top: 2em;
  padding-bottom: 4em;
}

.wrapper_what-now {
  padding-top: 5em;
  padding-bottom: 5em;
}

@media screen and (min-width: 992px) {
  .page-padding {
    padding-left: 4em;
    padding-right: 4em;
  }

  .secton-home_hero .hero_image {
    max-width: 100%;
    justify-self: stretch;
  }
}

.nav2_social-wrapper {
  display: flex;
  gap: 1.25em;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  flex-shrink: 0;
}

.nav_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav_icon .icon-1x1-small {
  width: 1.5em;
  height: 1.5em;
  overflow: visible;
}

.nav_icon .icon-1x1-small svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav_icon:hover {
  opacity: 0.7;
}

/* Contact form */
.section-contact {
  min-height: auto;
  padding-top: 2em;
  padding-bottom: 8em;
}

.sg-contact-form {
  width: 100%;
}

.sg-contact-form .form-field-wrapper._2wide {
  margin-bottom: 0;
}

.sg-contact-form .form-input {
  width: 100%;
}

.sg-contact-submit {
  align-self: flex-start;
  width: auto;
  min-width: 10em;
  margin-top: 0.5em;
  cursor: pointer;
}

.sg-contact-success {
  margin-top: 2em;
  padding: 1em 1.5em;
  border: 1px solid #2b2b2b33;
  border-radius: 0.75em;
  font-size: 1.125em;
  text-align: center;
  color: #2b2b2b;
}

/* Mastermind apply modal */
.sg-modal[hidden] {
  display: none !important;
}

.sg-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
}

.sg-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
}

.sg-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40em;
  max-height: calc(100vh - 3em);
  overflow-y: auto;
  background: #fff;
  border-radius: 0.75em;
  padding: 2em 2em 2.25em;
  box-shadow: 0 1.5em 3em rgba(0, 0, 0, 0.18);
}

.sg-modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 0.75em;
  margin-bottom: 0.35em;
}

.sg-modal-title {
  margin: 0;
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  line-height: 1.2;
}

.sg-modal-lead {
  margin: 0 0 1.5em;
  color: #666;
  line-height: 1.5;
}

.sg-modal-close {
  position: static;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75em;
  min-width: 44px;
  height: 2.75em;
  min-height: 44px;
  margin: -0.15em -0.35em 0 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #2b2b2b;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.sg-modal-close:hover {
  background: #f3f3f3;
}

.sg-mastermind-form .form-field-wrapper._2wide {
  margin-bottom: 0;
}

.sg-mastermind-form .form-input.is-text-area {
  min-height: 7em;
  resize: vertical;
}

body.sg-modal-open {
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  .sg-mastermind-form .form-input.is-text-area {
    min-height: 6em;
  }
}

@media screen and (max-width: 767px) {
  .sg-modal {
    align-items: flex-start;
    padding: max(0.75em, env(safe-area-inset-top)) max(0.75em, env(safe-area-inset-right))
      max(0.75em, env(safe-area-inset-bottom)) max(0.75em, env(safe-area-inset-left));
  }

  .sg-modal-panel {
    padding: 1.35em 1.15em 1.5em;
    max-height: calc(100dvh - 1.5em);
    -webkit-overflow-scrolling: touch;
  }

  .sg-mastermind-form .form-field-wrapper._2wide {
    grid-template-columns: 1fr !important;
    grid-row-gap: 0.75em !important;
  }

  .sg-mastermind-form .form-input.is-text-area {
    min-height: 5.25em;
    resize: none;
  }

  .sg-mastermind-form .sg-contact-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.25em;
  }
}

.sg-form-success,
.sg-form-error {
  margin-top: 1em;
  padding: 0.85em 1em;
  border-radius: 0.75em;
  font-size: 0.95em;
  line-height: 1.5;
}

.sg-form-success {
  border: 1px solid #2b2b2b33;
  color: #2b2b2b;
  background: #f7f7f7;
}

.sg-form-error {
  border: 1px solid #d14343;
  color: #8f1f1f;
  background: #fff5f5;
}

.sg-newsletter-form .sg-form-success,
.sg-newsletter-form .sg-form-error {
  grid-column: 1 / -1;
}

.tedx_text-wrap,
.section-backstory .hero_text-wrap {
  width: 100%;
  max-width: 40em;
  padding-left: 0;
  padding-right: 0;
}

.tedx_text-wrap .sg-newsletter-form,
.section-backstory .hero_text-wrap .sg-newsletter-form {
  width: 100%;
  max-width: 100%;
  margin-top: 1.5em;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}

.sg-newsletter-form.email-form_footer {
  display: grid;
  grid-column-gap: 1em;
  grid-row-gap: 0.75em;
  align-items: stretch;
}

.sg-newsletter-form .form-input {
  width: 100%;
  margin-bottom: 0;
  min-height: 3.25em;
}

.sg-newsletter-form .button.is-email-submit {
  width: 100%;
  margin-bottom: 0;
  min-height: 3.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@media screen and (min-width: 992px) {
  .sg-newsletter-form.email-form_footer {
    grid-template-columns: minmax(0, 2fr) minmax(10em, 1fr);
  }
}

.sg-footer {
  background-color: #f0f0f0;
  padding: 1.25em 3em;
  margin-top: auto;
}

.sg-footer-inner {
  max-width: 90em;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5em;
}

.sg-footer-copy {
  font-size: 0.875rem;
  color: #2b2b2b99;
  margin: 0;
}

.sg-footer-links {
  display: flex;
  gap: 1.5em;
  justify-content: center;
  flex-wrap: wrap;
}

.sg-footer-link {
  font-size: 0.875rem;
  color: #2b2b2b99;
  text-decoration: none;
  transition: color 0.2s;
}

.sg-footer-link:hover {
  color: #2b2b2b;
}

.sg-footer-social {
  display: flex;
  gap: 1.25em;
  justify-content: flex-end;
  align-items: center;
}

.sg-footer-social .nav_icon .icon-1x1-small {
  width: 1.5em;
  height: 1.5em;
  overflow: visible;
}

.sg-footer-social .nav_icon .icon-1x1-small svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media screen and (min-width: 992px) {
  .nav2_container {
    grid-template-columns: 10.5em 1fr 10.5em !important;
    align-items: center;
  }

  .nav2_link-wrapper {
    justify-content: center;
  }
}

@media screen and (max-width: 991px) {
  /* Tablet/mobile nav — white bar + dark logo (reference default) */
  .nav_mobile-white {
    position: relative;
    z-index: 1000;
    color: #2b2b2b;
    background-color: #fff;
  }

  .nav_mobile-white .logo,
  .nav_mobile-white .nav2_logo,
  .nav_mobile-white .nav2_logo svg,
  .nav_mobile-white .nav2_logo text,
  .nav_mobile-white .menu-button,
  .nav_mobile-white .menu-icon {
    color: #2b2b2b !important;
    fill: #2b2b2b !important;
  }

  .nav2_logo {
    max-width: 3em !important;
    height: 2.25em !important;
  }

  .logo {
    height: 2.6em;
  }

  .nav2_component {
    position: relative;
    z-index: 1000;
    min-height: auto;
    padding-top: 1.25em;
    padding-bottom: 1.25em;
  }

  .nav2_container {
    grid-template-columns: 1fr auto !important;
    align-items: center;
  }

  .nav2_container > .logo {
    grid-column: 1;
    justify-self: start;
    z-index: 1001;
  }

  .nav2_container > .menu-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    z-index: 1001;
  }

  .nav2_social-wrapper {
    display: none;
  }

  .menu-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: currentColor;
    padding: 0.75rem;
    margin-right: -0.75rem;
  }

  .menu-button.w--open {
    position: fixed;
    top: 1.25em;
    right: 1.25em;
    z-index: 1002;
    color: #2b2b2b;
    background-color: transparent;
  }

  .nav2_menu {
    display: none;
  }

  .nav2_menu.is-open {
    display: flex !important;
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: #fff;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 8.4vh 12vw 2.4vh;
  }

  .nav2_link-wrapper {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  body.sg-nav-open {
    overflow: hidden;
  }

  .sg-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sg-footer-social {
    justify-content: center;
  }

  .page-padding {
    padding-left: 2em;
    padding-right: 2em;
  }

  .section-about {
    padding-top: 0;
  }

  .mobile-image {
    margin-top: 0;
    margin-bottom: 2em;
    border-radius: 0.75em;
  }

  .sg-contact-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
  }

  ._2col_grid,
  ._2col_grid.book,
  .full-width_grid.tedx,
  .full-width_grid.backstory {
    grid-row-gap: 2.5em;
    align-items: center;
  }

  .wrapper_text-2col {
    width: 100%;
    max-width: none;
  }

  .wrapper_text-2col .button-secondary {
    display: flex;
    width: 100%;
    max-width: 100%;
  }

  .what-now_button-wrap {
    width: 100%;
    max-width: 24em;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .button-secondary.what-now {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .sg-newsletter-form.email-form_footer {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .section-logos .grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 3em 1.25em;
    grid-column-gap: 1.25em;
    grid-row-gap: 2em;
  }

  .section-logos .press-logo--wide {
    max-width: 100%;
    max-height: 1.75em;
  }

  /* 2-col sections — single column, image first (source order:-9999) */
  .w-layout-grid._2col_grid,
  .w-layout-grid._2col_grid.book {
    grid-template-columns: 1fr !important;
    grid-row-gap: 2em;
  }

  .w-layout-grid._2col_grid > ._2col-grid_image,
  .w-layout-grid._2col_grid.book > ._2col-grid_image,
  .w-layout-grid._2col_grid > .sg-image-wrap,
  .w-layout-grid._2col_grid.book > .sg-image-wrap {
    order: -9999;
    max-width: 100%;
    width: 100%;
  }

  .sg-program-workshop-grid {
    grid-template-columns: 1fr !important;
  }

  .sg-program-workshops + .sg-workshop-register {
    padding-top: 2.5em;
  }

  .sg-workshop-session-image {
    max-height: none;
    aspect-ratio: 4 / 5;
    object-position: 70% 18%;
  }

  .wrapper_what-now {
    padding-top: 3em;
    padding-bottom: 3em;
  }
}

/* Tablet — reference layout: inset hero photo, heading below, white nav */
@media screen and (min-width: 768px) and (max-width: 991px) {
  body.page-home .secton-home_hero {
    min-height: auto;
    padding-bottom: 3em;
    background-color: #fff;
  }

  body.page-home .secton-home_hero .page-padding.home_rian {
    padding-left: 2em;
    padding-right: 2em;
    width: 100%;
  }

  body.page-home .secton-home_hero .hero_grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr !important;
    grid-row-gap: 0;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
  }

  body.page-home .secton-home_hero .hero_photo-stack {
    position: relative;
    width: 100%;
    margin-bottom: 1em;
  }

  body.page-home .secton-home_hero .hero_photo-stack::after {
    display: none;
  }

  body.page-home .secton-home_hero .hero_image {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0.75em;
    aspect-ratio: 1 / 1;
    max-height: none;
    padding-top: 0;
    object-fit: cover;
    object-position: center top;
    background-color: #100c14;
  }

  body.page-home .secton-home_hero .hero_heading {
    position: static;
    color: #2b2b2b;
    margin: 0.75em 0 0 !important;
    padding: 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.08;
    text-shadow: none;
    text-align: left;
    text-transform: uppercase;
  }

  body.page-home .secton-home_hero .hero_bio {
    padding: 0;
    margin: 0 0 1em !important;
    text-align: left;
    color: #2b2b2b99;
    background: transparent;
  }

  body.page-home .secton-home_hero .hero_grid > .button-secondary.button-hero {
    align-self: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background: transparent;
  }

  body.page-home .secton-home_hero .scroll_icon-div {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 1.5em 0 1em;
    background-color: #fff;
    color: #2b2b2b99;
  }

  .what-now_button-wrap {
    max-width: 32em;
  }

  .sg-team-callouts {
    width: 100%;
    max-width: 28em;
    gap: 0.75em;
  }
}

/* Mobile — home overlay nav + stacked hero with text on photo */
@media screen and (max-width: 767px) {
  body.page-home .main-wrapper {
    position: relative;
  }

  body.page-home .nav_mobile-white {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background-color: transparent !important;
    pointer-events: none;
    color: #fff;
  }

  body.page-home .nav_mobile-white .nav2_component,
  body.page-home .nav_mobile-white .nav2_container,
  body.page-home .nav_mobile-white .logo,
  body.page-home .nav_mobile-white .menu-button {
    pointer-events: auto;
  }

  body.page-home .nav_mobile-white .logo,
  body.page-home .nav_mobile-white .nav2_logo,
  body.page-home .nav_mobile-white .nav2_logo svg,
  body.page-home .nav_mobile-white .nav2_logo text,
  body.page-home .nav_mobile-white .menu-button,
  body.page-home .nav_mobile-white .menu-icon {
    color: #fff !important;
    fill: #fff !important;
  }

  .secton-home_hero {
    background-color: #fff;
    min-height: auto;
    padding-bottom: 0;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }

  .secton-home_hero .page-padding.home_rian {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .secton-home_hero .container-hero {
    max-width: none;
  }

  .secton-home_hero .hero_grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr !important;
    grid-row-gap: 0;
    max-width: none;
    margin-bottom: 0;
    overflow: hidden;
  }

  .secton-home_hero .hero_photo-stack {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    overflow: hidden;
    background-color: #100c14;
  }

  .secton-home_hero .hero_image {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    aspect-ratio: 1 / 1;
    max-height: 70vh;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    background-color: #100c14;
    position: relative;
    z-index: 0;
  }

  .secton-home_hero .hero_photo-stack::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.45) 38%,
      transparent 72%
    );
    pointer-events: none;
    z-index: 1;
  }

  body.page-home .secton-home_hero .hero_image {
    padding-top: 3.25em;
    box-sizing: border-box;
  }

  .secton-home_hero .hero_heading {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: #fff;
    margin: 0 !important;
    padding: 0 1.25rem 1.25rem;
    font-size: clamp(1.5rem, 10.5vw, 3rem);
    line-height: 1.08;
    text-transform: uppercase;
    white-space: normal;
    width: 100%;
    box-sizing: border-box;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  }

  .secton-home_hero .hero_bio {
    color: #2b2b2b99;
    text-align: left;
    margin: 0 !important;
    padding: 1.25rem 1.25rem 0.75rem;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.55;
    transform: none !important;
    flex: 0 0 auto;
  }

  .secton-home_hero .hero_grid > .button-secondary.button-hero {
    align-self: stretch;
    margin: 0 1.25rem 1rem;
    padding: 0.85em 1.5em;
    background-color: #fff;
    width: calc(100% - 2.5rem);
    min-width: 0 !important;
    max-width: none;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: normal;
    transform: none !important;
    flex: 0 0 auto;
  }

  .secton-home_hero .scroll_icon-div {
    position: relative;
    inset: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 1.25em 0 1em;
    background-color: #fff;
    color: #2b2b2b99;
    font-size: 0.75em;
    letter-spacing: 0.08em;
    border-bottom: none;
  }

  .secton-home_hero .scroll_icon-div .scroll_icon {
    width: 1.25em;
    height: auto;
    opacity: 0.55;
    filter: none;
  }

  .top-cta-section {
    padding: 0.65em 1rem;
    text-align: center;
  }

  .top-cta-section a {
    font-size: clamp(0.6rem, 2.8vw, 0.75rem);
    line-height: 1.5;
    max-width: 22em;
    margin: 0 auto;
  }

}

@media screen and (max-width: 767px) {
  .sg-footer {
    padding: 1.25em 1.25rem;
  }

  .sg-footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.75em;
  }

  .page-padding {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .secton-home_hero .hero_heading {
    padding-bottom: 1rem;
    font-size: clamp(1.35rem, 9.5vw, 2.75rem);
  }

  .secton-home_hero .hero_image {
    max-height: 68vh;
  }

  .section_home-info {
    padding-top: 2.5em;
    padding-bottom: 0.5em;
  }

  .section_home-info + .section_home-info {
    padding-top: 2em;
  }

  .sg-program-pricing-card,
  .sg-program-apply-inner {
    padding: 2.5em 1.5em;
  }

  .sg-program-card,
  .sg-program-include-card {
    padding: 1.5em;
    overflow: visible;
    min-height: 0;
  }

  .sg-program-card p,
  .sg-program-include-card p {
    overflow: visible;
    word-break: normal;
  }

  .sg-program-section-header {
    margin-bottom: 2em;
    padding-left: 0;
    padding-right: 0;
  }

  .sg-program-section-header h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .sg-program-workshop-grid {
    grid-template-columns: 1fr !important;
    gap: 1em;
  }

  .sg-program-workshop-grid .sg-program-card {
    width: 100%;
  }
}

@media screen and (min-width: 992px) {
  .section-logos .grid {
    place-items: center;
    justify-items: center;
    padding: 3.5em 2em;
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Inner pages — title 15% above viewport center, scroll 20% below */
@media screen and (max-width: 991px) {
  .section-doing_hero,
  .section-thinking_hero {
    --sg-mobile-stack: 9.0625rem; /* top CTA + nav height above hero */
    display: block;
    min-height: calc(100dvh - var(--sg-mobile-stack));
    padding: 0;
    position: relative;
    overflow: hidden;
  }

  .section-doing_hero .page-padding,
  .section-thinking_hero .page-padding {
    position: static;
    width: 100%;
    padding-bottom: 0;
  }

  .section-doing_hero .container-large,
  .section-thinking_hero .container-large {
    width: 100%;
    text-align: center;
  }

  .section-doing_hero .heading_pages,
  .section-thinking_hero .heading_pages {
    position: absolute;
    top: calc(35vh - var(--sg-mobile-stack));
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    font-size: clamp(2rem, 9.75vw, 4.25rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 1.25rem;
    box-sizing: border-box;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    z-index: 1;
  }

  .section-doing_hero .container-large > p.text-align-center,
  .section-thinking_hero .container-large > p.text-align-center {
    position: absolute;
    top: calc(35vh - var(--sg-mobile-stack) + 2.5rem);
    left: 0;
    right: 0;
    text-align: center;
    color: #2b2b2b99;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 22em;
    margin: 0 auto;
    padding: 0 1.25rem;
    z-index: 1;
  }

  .scroll_icon-div.pages {
    display: flex !important;
    position: absolute;
    top: calc(70vh - var(--sg-mobile-stack));
    left: 50%;
    right: auto;
    bottom: auto !important;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    color: #2b2b2b99;
    font-size: 0.75em;
    letter-spacing: 0.08em;
    z-index: 1;
  }

  .scroll_icon-div.pages .scroll_icon {
    width: 1.25em;
    height: auto;
    opacity: 0.55;
    filter: none;
    margin-top: 0.35em;
  }
}

/* Home logos — mobile spacing (after global grid rules to win cascade) */
@media screen and (max-width: 767px) {
  .section-logos {
    position: relative;
    z-index: 3;
    background-color: #fff;
    padding-top: 0;
  }

  .section-logos .caption.bold {
    color: #2b2b2b99;
    font-size: 0.75em;
    letter-spacing: 0.08em;
    margin-top: 1em;
    margin-bottom: 1.75em;
  }

  .section-logos .grid {
    grid-template-columns: 1fr;
    grid-row-gap: 2.25em;
    padding: 0 1.25em 2.5em;
    justify-items: center;
    border-top: none;
    border-bottom: none;
  }

  .section-logos .press-logo {
    width: auto;
    max-width: none;
  }

  .section-logos .press-logo--tedx {
    height: 1.15em;
  }

  .section-logos .press-logo--yourstory {
    height: 1.2em;
  }

  .section-logos .press-logo--economic-times {
    height: 2.35em;
    max-width: 92vw;
    min-height: 1.75em;
  }

  .section-logos .press-logo--business-standard {
    height: 1.65em;
    max-width: 92vw;
  }
}

.section-logos .logo {
  height: auto;
}

.section-logos .press-logo {
  width: auto;
  max-width: 16em;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Per-logo visual size — tuned cap-height, not container boxes */
.section-logos .press-logo--tedx {
  height: 1.15em;
}

.section-logos .press-logo--yourstory {
  height: 1.2em;
}

.section-logos .press-logo--economic-times {
  height: 2.35em;
  min-height: 1.75em;
}

.section-logos .press-logo--business-standard {
  height: 1.65em;
}

.section-logos .press-logo--wide {
  max-width: 14em;
}

.section-building {
  padding-top: 4em;
}

/* Global layout polish */
html,
body {
  overflow-x: hidden;
}

.page-wrapper,
.main-wrapper {
  overflow-x: hidden;
  max-width: 100%;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.top-cta-section {
  height: auto;
  min-height: 40px;
  line-height: 1.4;
  padding: 0.5em 1em;
}

.top-cta-container {
  height: auto;
}

.top-cta-section a {
  display: inline-block;
  line-height: 1.45;
  font-size: clamp(0.65rem, 2.2vw, 0.875rem);
}

._2col_grid,
._2col_grid.book {
  grid-row-gap: 2.5em;
  align-items: center;
}

._2col_grid.sg-align-start {
  align-items: start;
}

._2col-grid_image,
.backstory_image,
.sg-rounded-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75em;
  overflow: hidden;
  clip-path: inset(0 round 0.75em);
  -webkit-clip-path: inset(0 round 0.75em);
  object-fit: cover;
  object-position: center;
}

._2col-grid_image.sg-image-crop-face {
  aspect-ratio: 4 / 5;
  max-height: 24em;
  width: 100%;
  object-fit: cover;
  object-position: center 8%;
}

._2col-grid_image.sg-image-crop-stage {
  aspect-ratio: 4 / 5;
  max-height: 24em;
  width: 100%;
  object-fit: cover;
  object-position: 68% 18%;
}

.sg-coaching-section ._2col_grid {
  grid-column-gap: 3.5em;
}

.sg-coaching-section .wrapper_text-2col {
  padding-top: 0.5em;
}

.sg-image-wrap {
  width: 100%;
  border-radius: 0.75em;
  overflow: hidden;
  line-height: 0;
}

.sg-image-wrap ._2col-grid_image,
.sg-image-wrap .sg-rounded-image {
  width: 100%;
  height: auto;
  display: block;
}

.sg-team-photo {
  display: block;
  width: 100%;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.75em;
}

/* Work — People section with sketched arrows below photo */
.sg-team-section {
  width: 100%;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

.sg-team-callouts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0.75em;
  margin-top: 1.75em;
  padding: 0;
  text-align: center;
  width: 100%;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

.sg-team-callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.sg-team-callout--left {
  justify-self: end;
  padding-right: 0.35em;
}

.sg-team-callout--center {
  justify-self: center;
}

.sg-team-callout--right {
  justify-self: start;
  padding-left: 0.35em;
}

.sg-team-arrow {
  width: 2.25em;
  height: 2.75em;
  margin-bottom: 0.65em;
  flex-shrink: 0;
}

.sg-team-arrow path {
  fill: none;
  stroke: #2b2b2b;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

.sg-team-callout--left .sg-team-arrow {
  transform: rotate(-14deg) translateX(0.15em);
}

.sg-team-callout--center .sg-team-arrow {
  transform: none;
}

.sg-team-callout--right .sg-team-arrow {
  transform: rotate(14deg) translateX(-0.15em);
}

.sg-team-callout .heading-small {
  margin-bottom: 0.35em;
  line-height: 1.2;
}

.sg-team-callout .caption {
  min-height: 2.4em;
  line-height: 1.35;
}

@media screen and (max-width: 767px) {
  .sg-team-callouts {
    gap: 0.35em;
    padding: 0;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .sg-team-callout--left {
    padding-right: 0;
  }

  .sg-team-callout--right {
    padding-left: 0;
  }

  .sg-team-callout .heading-small {
    font-size: 0.8em;
  }

  .sg-team-callout .caption {
    font-size: 0.62em;
    min-height: 2.2em;
  }

  .sg-team-arrow {
    width: 1.65em;
    height: 2em;
    margin-bottom: 0.5em;
  }

  .sg-team-callout--left .sg-team-arrow {
    transform: rotate(-12deg) translateX(0.1em);
  }

  .sg-team-callout--right .sg-team-arrow {
    transform: rotate(12deg) translateX(-0.1em);
  }
}

/* Sitemap page */
.sg-sitemap-copy {
  width: 100%;
  max-width: 36em;
}

.sg-sitemap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-sitemap-link {
  display: block;
  padding: 0.65em 0;
  border-bottom: 1px solid #e8e8e8;
  color: inherit;
  text-decoration: none;
  font-size: 1.05em;
  line-height: 1.4;
}

.sg-sitemap-link:hover {
  color: #111;
}

/* Legal pages */
.sg-legal-section {
  padding-top: 3em;
  padding-bottom: 6em;
}

.sg-legal-body {
  max-width: 40em;
  margin: 0 auto;
}

.sg-legal-body h2 {
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.sg-legal-body p,
.sg-legal-body ul {
  margin-bottom: 1em;
  line-height: 1.75;
}

.sg-legal-body ul {
  padding-left: 1.25em;
}

.sg-legal-intro {
  font-size: 1.125em;
  line-height: 1.75;
}

.sg-legal-contact {
  margin-top: 2.5em;
  padding: 2em;
  background: #f5f5f5;
  border-radius: 0.75em;
}

.wrapper_text-2col {
  width: 100%;
}

.wrapper_text-2col .button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.full-width_grid.tedx,
.full-width_grid.backstory {
  grid-row-gap: 2.5em;
  align-items: center;
}

.hero_text-wrap {
  width: 100%;
}

/* Home hero — desktop: copy left, photo right */
@media screen and (min-width: 992px) {
  .secton-home_hero .hero_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "heading image"
      "bio image"
      "cta image";
    align-items: start;
    column-gap: 7em;
  }

  .secton-home_hero .hero_photo-stack {
    display: contents;
  }

  .secton-home_hero .hero_image {
    grid-area: image;
    align-self: center;
    object-fit: cover;
  }

  .secton-home_hero .hero_heading {
    grid-area: heading;
    position: static;
    color: #2b2b2b;
    margin: 0 0 0.75em !important;
    padding: 0;
    text-shadow: none;
    text-transform: uppercase;
    align-self: end;
  }

  .secton-home_hero .hero_bio {
    grid-area: bio;
    margin: 0 0 1.25em !important;
    padding: 0;
    color: #2b2b2b99;
    background: transparent;
  }

  .secton-home_hero .hero_grid > .button-secondary.button-hero {
    grid-area: cta;
    align-self: start;
    margin: 0;
    width: auto;
    background: transparent;
  }
}

.grid-education {
  width: 100%;
}

.education_image-wrap {
  width: 100%;
  text-align: center;
}

.wrapper_what-now {
  text-align: center;
}

.what-now_button-wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-items: stretch;
}

@media screen and (min-width: 992px) {
  .what-now_button-wrap {
    max-width: 56em;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column-gap: 1.125em;
  }

  .button-secondary.what-now {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 1.5em;
    padding-right: 1.5em;
  }
}

.mobile-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.75em;
  clip-path: inset(0 round 0.75em);
  -webkit-clip-path: inset(0 round 0.75em);
}

/* About page — typography & copy rhythm (all breakpoints) */
body.page-about .section_home-info ._2col_grid > * {
  min-width: 0;
}

body.page-about .sg-about-copy {
  width: 100%;
}

body.page-about .sg-about-copy h2 {
  margin: 0 0 0.5em;
  line-height: 1.15;
}

body.page-about .sg-about-copy > p,
body.page-about .sg-about-copy > ul {
  margin: 0 0 1.25em;
}

body.page-about .sg-about-copy > ul {
  padding-left: 1.25em;
}

body.page-about .sg-about-copy > ul li {
  margin-bottom: 0.35em;
  line-height: 1.5;
}

body.page-about .sg-about-copy > ul li:last-child {
  margin-bottom: 0;
}

body.page-about .sg-about-copy .button-secondary {
  margin-top: 0.25em;
}

body.page-about .section_home-info ._2col-grid_image {
  width: 100%;
  max-width: 100%;
}

/* About page — desktop two-column layout */
@media screen and (min-width: 992px) {
  body.page-about .section-doing_hero + .section_home-info {
    padding-top: 4em;
  }

  body.page-about .section_home-info + .section_home-info {
    padding-top: 4em;
  }

  body.page-about .section_home-info {
    padding-bottom: 3em;
  }

  body.page-about .section_home-info ._2col_grid {
    grid-column-gap: 3.5em;
    align-items: start;
  }

  body.page-about .sg-about-family-photo {
    align-self: start;
    object-fit: cover;
    aspect-ratio: 4 / 3;
  }
}

/* About page — tablet & mobile stacked layout */
@media screen and (max-width: 991px) {
  body.page-about .section-doing_hero + .section_home-info {
    padding-top: 2.5em;
  }

  body.page-about .section_home-info + .section_home-info {
    padding-top: 2em;
  }

  body.page-about .section_home-info {
    padding-bottom: 2em;
  }

  body.page-about .section_home-info ._2col_grid {
    grid-row-gap: 2em;
    align-items: stretch;
  }

  /* Text first, image second — better reading order on narrow screens */
  body.page-about .section_home-info ._2col_grid > .wrapper_text-2col {
    order: 0;
    width: 100%;
  }

  body.page-about .section_home-info ._2col_grid > ._2col-grid_image {
    order: 1;
    width: 100%;
    max-width: 100%;
  }

  body.page-about .sg-about-copy h2 {
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  }

  body.page-about .sg-about-family-photo {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    max-height: none;
  }

  body.page-about ._2col-grid_image.sg-image-crop-stage {
    max-height: none;
    aspect-ratio: 4 / 5;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  body.page-about .section-doing_hero + .section_home-info {
    padding-top: 2em;
  }

  body.page-about .section_home-info + .section_home-info {
    padding-top: 1.75em;
  }

  body.page-about .section_home-info {
    padding-bottom: 1.75em;
  }

  body.page-about .section_home-info ._2col_grid {
    grid-row-gap: 1.75em;
  }

  body.page-about .sg-about-copy > p,
  body.page-about .sg-about-copy > ul {
    margin: 0 0 1em;
  }

  body.page-about .sg-about-copy .button-secondary {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.sg-workshop-eligibility h2 {
  margin: 0 0 0.5em;
  font-size: 1.75em;
  line-height: 1.2;
}

.sg-workshop-eligibility h2:not(:first-child) {
  margin-top: 1.75em;
}

.sg-workshop-eligibility ul {
  margin: 0 0 0.25em;
  padding-left: 1.25em;
}

.sg-workshop-eligibility ul li {
  margin-bottom: 0.35em;
  line-height: 1.5;
}

.sg-workshop-eligibility p {
  margin: 1.25em 0 1.5em;
}

.sg-workshop-eligibility .button-secondary {
  margin-top: 0.25em;
}

.sg-program-workshops + .sg-workshop-register {
  padding-top: 3em;
}

.sg-workshop-register ._2col_grid {
  grid-column-gap: 3em;
  align-items: start;
}

.sg-workshop-register .sg-workshop-session-wrap {
  align-self: start;
  width: 100%;
}

.sg-workshop-session-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 26em;
  object-fit: cover;
  object-position: 72% 16%;
}

.sg-page-footer-gap {
  padding-bottom: 6em;
}

.sg-page-footer-gap + .sg-footer,
main > .sg-page-footer-gap:last-child {
  margin-bottom: 0;
}

.sticky2_content-left,
.sticky2_component {
  width: 100%;
}

/* Remove decorative horizontal divider lines */
.grid,
.full-width_grid.lines-padding,
.full-width_grid.tedx,
.full-width_grid.backstory,
.wrapper_what-now,
.investing_wrap,
.wrapper-divider,
.wrapper-divider.top,
.speeches_wrapper {
  border-top: none !important;
  border-bottom: none !important;
}

/* Program page */
.sg-program-eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75em;
}

.sg-program-eyebrow.light {
  color: #ffffff99;
}

.sg-program-section-header {
  max-width: 40em;
  margin: 0 auto 3em;
  text-align: center;
}

.sg-program-section-header h2 {
  margin: 0 0 0.75em;
}

.sg-program-lead {
  margin: 0;
  font-size: 1.125em;
  line-height: 1.75;
  color: #2b2b2b99;
}

.sg-program-workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25em;
}

.sg-program-workshop-grid--quad,
.sg-program-workshop-grid--pair {
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 992px) {
  .sg-program-workshop-grid--quad {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sg-program-card {
  background: #f5f5f5;
  border-radius: 0.75em;
  padding: 2em 1.75em;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

.sg-program-card-num {
  font-family: Oswald, sans-serif;
  font-size: 2.5em;
  font-weight: 500;
  line-height: 1;
  color: #2b2b2b33;
}

.sg-program-card h3 {
  margin: 0;
  font-size: 1.35em;
  line-height: 1.25;
}

.sg-program-card p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: #2b2b2b99;
}

.sg-program-include-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25em;
}

.sg-program-include-card {
  border: 1px solid #2b2b2b1a;
  border-radius: 0.75em;
  padding: 2em;
}

.sg-program-include-card h3 {
  margin: 0 0 0.5em;
  font-size: 1.15em;
}

.sg-program-include-card p {
  margin: 0;
  line-height: 1.7;
  color: #2b2b2b99;
}

.sg-program-pricing {
  padding: 4em 0 5em;
}

.sg-program-pricing-card {
  background: #2b2b2b;
  color: #fff;
  border-radius: 0.75em;
  padding: 3.5em 3em;
  text-align: center;
  max-width: 36em;
  margin: 0 auto;
}

.sg-program-price {
  font-family: Oswald, sans-serif;
  font-size: 3.5em;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 1em;
}

.sg-program-price span {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 0.35em;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-top: 0.35em;
  color: #ffffff99;
}

.sg-program-pricing-note {
  margin: 0 auto 2em;
  max-width: 28em;
  line-height: 1.75;
  color: #ffffffb3;
}

.sg-program-apply {
  padding: 4em 0 6em;
}

.sg-program-apply-inner {
  background: #f5f5f5;
  border-radius: 0.75em;
  padding: 3.5em 2.5em;
  text-align: center;
  max-width: 40em;
  margin: 0 auto;
}

.sg-program-apply-inner h2 {
  margin: 0 0 0.75em;
}

.sg-program-apply-inner p {
  margin: 0 auto 1.75em;
  max-width: 28em;
  line-height: 1.75;
  color: #2b2b2b99;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .sg-program-workshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-program-workshop-grid .sg-program-card:last-child {
    grid-column: 1 / -1;
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 991px) {
  .sg-program-include-grid {
    grid-template-columns: 1fr;
  }

  .sg-program-price {
    font-size: 2.75em;
  }
}