body, html { margin: 0; padding: 0; }
    /* Fixed navbar */
    #mainNav {
      position: fixed; top: 0; left: 0; right: 0;
      background-color: rgb(84,89,95);
      padding: 1rem 2rem;
      z-index: 1000;
    }
    #mainNav .container {
      display: flex; justify-content: space-between; align-items: center;
    }
    .navbar-brand, .nav-link {
      margin: 0 1rem;
      font-family: 'Open Sans', sans-serif;
      font-size: 0.9rem;
      text-transform: lowercase !important;
      cursor: pointer;
      color: #000 !important;
      text-decoration: none;
    }
    .navbar-brand {
      font-family: 'Open Sans', sans-serif;
      font-size: 1.25rem;
      font-weight: bold;
      text-transform: lowercase !important;
      color: #000 !important;
      text-decoration: none;
    }
    .nav { display: flex; list-style: none; margin: 0; padding: 0; }
    .nav-link {
      margin: 0 1rem;
      font-size: 0.9rem;
      text-transform: lowercase;
      cursor: pointer;
    }
    .nav-link:hover { color: #ff671f !important; }
    .nav-item.dropdown { position: relative; }
    .dropdown-menu {
      display: none; position: absolute; top: 100%; left: 0;
      background: #fff; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
      border-radius: 4px; margin: 0; padding: 0; min-width: 8rem; z-index: 1010;
    }
    .dropdown-item {
      padding: 0.5rem 1rem;
      text-decoration: none;
      color: #333;
      white-space: nowrap;
      display: block;
      text-transform: lowercase;
    }
    .dropdown-item:hover { background: #f8f9fa; color: #ff671f; }
    .nav-item.dropdown:hover > .dropdown-menu { display: block; }
    body { padding-top: 70px; }

    /* Hero section */
    .hero {
      background-color: rgb(84,89,95);
      color: #fff;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      height: calc(100vh - 70px);
      text-align: center;
    }
    .hero .icon {
      margin-top: 5rem !important;
    }
    .hero .icon img {
      width: 200px !important;
      height: auto !important;
      display: block;
  margin: 0 auto;
}
    .hero-footer {
      position: absolute; bottom: 1rem;
      width: 100%; text-align: center;
    }
    .hero-footer .container { max-width: 400px; margin: auto; }
    .hero-footer .list-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0;
  margin: 0 auto;
}
    .hero-footer i { color: #000 !important; font-size: 2rem; }

    /* CTA white section */
    .content-white { background: #fff; padding: 2rem 1rem; text-align: center; }
    #footer-cta { display: inline-block; margin: 0 auto 1rem; text-align: center; }
    #footer-cta h2 {
      font-family: 'Open Sans', sans-serif;
      font-size: 1.5rem; font-weight: bold; text-decoration: underline;
      color: #333; margin-bottom: 0.75rem;
    }
    .substack-link {
      display: inline-flex; align-items: center;
      font-family: 'Open Sans', sans-serif;
      font-size: 1.25rem; font-weight: 600; color: #333; margin-bottom: 1rem;
    }
    .subletters {
  width: 90%;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
}

@media (max-width: 480px) {
  .subletters {
    font-size: 1rem;
    line-height: 1.7;
  }
}
    .byline { font-size: 0.8rem; font-weight: bold; margin-bottom: 0.5rem; }
    .join-line { font-size: 0.8rem; font-style: italic; margin-bottom: 0.5rem; }
    #substack-form-container { margin: 0 auto 1rem; text-align: center; }
    .substack-transparent-form { display: inline-flex; }
    .substack-transparent-form input[type="email"] {
      padding: 0.5rem; font-size: 0.8rem;
      border: 1px solid #ccc; border-radius: 4px 0 0 4px;
      background: transparent; color: #333;
    }
    .substack-transparent-form button {
      padding: 0 1rem; font-size: 0.8rem;
      border: none; background: #ff671f; color: #fff;
      border-radius: 0 4px 4px 0; cursor: pointer;
    }
    .substack-disclaimer { font-size: 0.75rem; color: #666; text-align: center; margin-top: 1rem; }
    .copyright { font-size: 0.75rem; text-align: center; margin-top: 1rem; color: #666; }
    /* Mobile nav styling */
  #mobileToggle {
      display: none;
      background: transparent;
      border: none;
      width: 30px;
      height: 22px;
      padding: 0;
      cursor: pointer;
    }
  #mobileToggle span {
      display: block;
      height: 3px;
      background: #000;
      margin: 5px 0;
    }
  @media (max-width: 768px) {
    .nav { display: none; flex-direction: column; position: absolute; top: 70px; right: 0; background: #fff; width: 100%; }
    .nav-link { padding: 0.75rem 1rem; color: #000 !important; }
    #mobileToggle { display: block; }
  }

    /* Centered nested submenu (desktop), stacked on mobile */
    .dropdown-menu .dropdown-submenu { position: relative; }
    .dropdown-menu .dropdown-submenu > .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      display: none;
      min-width: 14rem;
    }
    .dropdown-menu .dropdown-submenu:hover > .dropdown-menu { display: block; }
    @media (max-width: 768px) {
      .dropdown-menu, .dropdown-menu .dropdown-submenu > .dropdown-menu {
        position: static;
        transform: none;
        display: block;
        width: 100%;
      }
    }


/* Mobile: only top level showing after hamburger; submenus closed until tapped */
@media (max-width: 768px) {
  #mainNav .nav { flex-direction: column; }
  #mainNav .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
  }
  #mainNav .dropdown-menu.open { display: block; }
  .nav-link:active, .nav-link:focus,
  .dropdown-item:active, .dropdown-item:focus {
    color: #ff671f !important;
    background: #f8f9fa;
    outline: none;
  }
}


    /* LinkedIn newsletter CTA */
    .cta-row {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 2rem;
      max-width: 1100px;
      margin: 0 auto 1rem;
    }
    .cta-column {
      flex: 1 1 0;
      max-width: 520px;
      text-align: center;
    }
    .linkedin-newsletter-cta {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .libutton {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 7px;
      text-align: center;
      outline: none;
      text-decoration: none !important;
      color: #ffffff !important;
      width: 200px;
      height: 32px;
      border-radius: 16px;
      background-color: #0A66C2;
      font-family: "SF Pro Text", Helvetica, sans-serif;
      margin: 0 auto 1rem;
    }
    @media (max-width: 768px) {
      .cta-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
      }
      .linkedin-newsletter-cta {
        order: -1;
        width: 100%;
      }
      .cta-column {
        width: 100%;
        max-width: 800px;
      }
    }


    /* Rebuilt editable platform lines and LinkedIn cards */
    .cta-row {
      align-items: stretch;
    }
    .cta-column {
      display: flex;
      flex-direction: column;
    }
    .substack-cta #footer-cta {
      flex: 1 1 auto;
    }
    .platform-line {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      font-family: 'Open Sans', sans-serif;
      font-size: 1.25rem;
      font-weight: 600;
      line-height: 1.2;
      color: #333;
      margin-bottom: 1rem;
    }
    .platform-line a {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      color: #333;
      text-decoration: none;
    }
    .platform-icon {
      width: 16px;
      height: 16px;
      display: inline-block;
      flex: 0 0 auto;
    }
    .linkedin-newsletter-cta {
      justify-content: space-between;
      gap: 0.9rem;
    }
    .linkedin-card {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      width: 100%;
      max-width: 520px;
      margin: 0 auto;
      text-align: left;
      font-family: 'Open Sans', sans-serif;
      color: #222;
    }
    .linkedin-card-avatar {
      flex: 0 0 auto;
      width: 82px;
      height: 82px;
      object-fit: cover;
    }
    .linkedin-card-avatar-square {
      border-radius: 10px;
    }
    .linkedin-card-avatar-circle {
      border-radius: 50%;
    }
    .linkedin-card-copy {
      flex: 1 1 auto;
    }
    .linkedin-card-copy h3 {
      font-family: 'Open Sans', sans-serif;
      font-size: 1.5rem;
      font-weight: bold;
      line-height: 1.15;
      color: #222;
      margin: 0 0 0.35rem;
    }
    .linkedin-card-copy p {
      font-size: 1.02rem;
      line-height: 1.2;
      margin: 0;
      color: #222;
    }
    .linkedin-card-copy .linkedin-meta {
      color: #666;
      margin-bottom: 0.3rem;
    }
    .linkedin-mini-icon {
      width: 22px;
      height: 22px;
      display: inline-block;
      vertical-align: -2px;
      margin-left: 4px;
    }
    @media (max-width: 768px) {
      .cta-column {
        display: block;
      }
      .linkedin-card {
        max-width: 520px;
      }
    }
    @media (max-width: 480px) {
      .linkedin-card {
        gap: 0.75rem;
      }
      .linkedin-card-avatar {
        width: 64px;
        height: 64px;
      }
      .linkedin-card-copy h3 {
        font-size: 1.25rem;
      }
      .linkedin-card-copy p {
        font-size: 0.95rem;
      }
    }


    /* Typography consistency and corrected LinkedIn card layout */
    .linkedin-newsletter-cta,
    .linkedin-card,
    .linkedin-card-copy,
    .linkedin-card-copy h3,
    .linkedin-card-copy p {
      font-family: 'Open Sans', sans-serif;
      color: #333;
    }
    .linkedin-newsletter-cta {
      justify-content: space-between;
      gap: 1.15rem;
    }
    .linkedin-card {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      width: 100%;
      max-width: 520px;
      margin: 0 auto;
      text-align: left;
      font-weight: 400;
    }
    .linkedin-card-avatar {
      flex: 0 0 auto;
      width: 82px;
      height: 82px;
      object-fit: cover;
    }
    .linkedin-card-copy h3 {
      font-size: 1.5rem;
      font-weight: 700;
      line-height: 1.15;
      margin: 0 0 0.35rem;
    }
    .linkedin-card-copy p {
      font-size: 0.9rem;
      line-height: 1.6;
      font-weight: 400;
      margin: 0;
    }
    .linkedin-card-copy .linkedin-meta {
      color: #666;
      margin-bottom: 0.2rem;
    }
    .linkedin-mini-icon {
      width: 22px;
      height: 22px;
      display: inline-block;
      vertical-align: -2px;
      margin-left: 4px;
    }
    .libutton {
      margin: 0.35rem auto 0.35rem;
    }
    @media (max-width: 480px) {
      .linkedin-card-avatar {
        width: 64px;
        height: 64px;
      }
      .linkedin-card-copy h3 {
        font-size: 1.25rem;
      }
      .linkedin-card-copy p {
        font-size: 0.95rem;
      }
    }


    /* Final CTA alignment and typography pass */
    .content-white,
    .content-white * {
      font-family: 'Open Sans', sans-serif;
      color: #333;
    }
    .content-white { 
      padding: 2rem 1rem; 
    }
    .cta-row {
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: 2rem;
      max-width: 1100px;
      margin: 0 auto;
    }
    .cta-column {
      flex: 1 1 0;
      max-width: 520px;
      text-align: center;
      display: flex;
      flex-direction: column;
    }
    .substack-cta {
      justify-content: flex-start;
    }
    #footer-cta {
      display: block;
      margin: 0 auto 1rem;
      text-align: center;
    }
    #substack-form-container {
      margin: 1rem auto 0;
      text-align: center;
      width: 100%;
    }
    .platform-line {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      font-size: 1.25rem;
      font-weight: 600;
      line-height: 1.2;
      margin-bottom: 1rem;
    }
    .platform-line a {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      color: #333;
      text-decoration: none;
    }
    .substack-css-icon {
      width: 16px;
      height: 16px;
      display: inline-block;
      background: #ff671f;
      border-radius: 2px;
      position: relative;
      flex: 0 0 auto;
    }
    .substack-css-icon::before,
    .substack-css-icon::after {
      content: "";
      position: absolute;
      left: 3px;
      right: 3px;
      height: 2px;
      background: #fff;
    }
    .substack-css-icon::before { top: 4px; }
    .substack-css-icon::after { top: 8px; }
    .linkedin-newsletter-cta {
      justify-content: space-between;
      gap: 1.25rem;
      padding-bottom: 0.25rem;
    }
    .linkedin-card {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      width: 100%;
      max-width: 520px;
      margin: 0 auto;
      text-align: left;
      font-weight: 400;
    }
    .linkedin-card-avatar {
      flex: 0 0 auto;
      width: 82px;
      height: 82px;
      object-fit: cover;
    }
    .linkedin-card-avatar-square {
      border-radius: 10px;
    }
    .linkedin-card-avatar-circle {
      border-radius: 50%;
    }
    .linkedin-card-copy {
      flex: 1 1 auto;
    }
    .linkedin-card-copy h3 {
      font-size: 1.5rem;
      font-weight: 700;
      line-height: 1.15;
      color: #333;
      margin: 0 0 0.35rem;
    }
    .linkedin-card-copy p {
      font-size: 0.9rem;
      line-height: 1.6;
      font-weight: 400;
      color: #333;
      margin: 0;
    }
    .linkedin-card-copy .linkedin-meta {
      color: #666;
      margin-bottom: 0.2rem;
    }
    .linkedin-css-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      border-radius: 3px;
      background: #0A66C2;
      color: #fff !important;
      font-size: 0.85rem;
      font-weight: 700;
      line-height: 1;
      vertical-align: 1px;
      margin-left: 4px;
    }
    .libutton {
      margin: 0.5rem auto;
    }
    @media (max-width: 768px) {
      .cta-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
      }
      .linkedin-newsletter-cta {
        order: -1;
        width: 100%;
      }
      .cta-column {
        width: 100%;
        max-width: 800px;
      }
      .linkedin-card {
        max-width: 520px;
      }
    }
    @media (max-width: 480px) {
      .linkedin-card {
        gap: 0.75rem;
      }
      .linkedin-card-avatar {
        width: 64px;
        height: 64px;
      }
      .linkedin-card-copy h3 {
        font-size: 1.25rem;
      }
      .linkedin-card-copy p {
        font-size: 0.95rem;
      }
    }


    /* Centered final copyright/signature footer */
    .site-signature-footer {
      width: 100%;
      max-width: 1100px;
      margin: 1.25rem auto 0;
      text-align: center;
    }
    .site-signature-footer .copyright {
      font-size: 0.9rem;
      line-height: 1.3;
      color: #666;
      text-align: center;
      margin: 0 0 0.35rem;
    }
    .signature-image {
      display: block;
      width: 190px;
      max-width: 45%;
      height: auto;
      margin: 0 auto;
    }
    @media (max-width: 480px) {
      .signature-image {
        width: 170px;
        max-width: 70%;
      }
    }


    /* Tighten LinkedIn column vertical spacing */
    .linkedin-newsletter-cta {
      justify-content: flex-start;
      gap: 0.75rem;
      padding-bottom: 0;
    }
    .linkedin-newsletter-card {
      margin-bottom: 0.15rem;
    }
    .linkedin-newsletter-cta .libutton {
      margin: 0.15rem auto 0.35rem;
    }
    .linkedin-profile-card {
      margin-top: 0.15rem;
    }

    /* Homepage intro below crest */
    .home-hero {
      height: auto;
      min-height: calc(100vh - 70px);
      padding-bottom: 1.5rem;
    }
    .home-hero .icon {
      margin-top: 2.5rem !important;
    }
    .home-hero .icon img {
      width: min(360px, 80vw) !important;
      height: auto !important;
      margin-top: 90px !important;
    }
    .home-intro {
      width: min(960px, 90vw);
      margin: 2rem auto 1.5rem;
      color: #fff;
      font-family: 'Open Sans', sans-serif;
      font-size: 0.92rem;
      font-weight: 600;
      line-height: 1.65;
      text-align: center;
    }
    .home-intro p {
      color: #fff;
      margin: 0 0 0.85rem;
    }
    .home-hero .hero-footer {
      position: static;
      margin-top: 1rem;
      padding-bottom: 0.75rem;
    }
    @media (max-width: 768px) {
      .home-hero .icon img {
        width: min(280px, 78vw) !important;
        height: auto !important;
        margin-top: 80px !important;
      }
      .home-intro {
        font-size: 0.88rem;
        line-height: 1.6;
      }
    }

    /* Generic not-yet-built page */
    .coming-soon-hero {
      min-height: calc(100vh - 70px);
      height: calc(100vh - 70px);
      justify-content: center;
    }
    .coming-soon-wrap {
      width: min(1200px, 92vw);
      margin: auto;
      text-align: center;
    }
    .coming-soon-title {
      margin: 0;
      color: #fff;
      font-family: 'Open Sans', Arial, sans-serif;
      font-size: clamp(4.5rem, 11vw, 10.5rem);
      font-weight: 800;
      line-height: 0.92;
      letter-spacing: 0;
      text-align: center;
    }
    @media (max-width: 480px) {
      .coming-soon-title {
        font-size: clamp(3.3rem, 18vw, 5rem);
      }
    }
