body {
    margin: 0;
    font-family: Calibri, sans-serif;
    line-height: 1.7;
    color: #1f2933;
    background-color: hwb(140 96% 3%);
    font-size: 16px;
}

main {
    max-width: 800px;
    margin: auto;
    padding: 80px 30px;
}

.landing-page main {
    font-family: Georgia, serif;
    font-size: 1.75rem; /* ~20px */
    line-height: 1.6;
}

.opening {
    max-width: 700px;
}

h1 {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 40px;
    color: #57026a;
}

h2 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #57026a;
}

p {
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.5;
    text-align: justify;
}

.subtitle {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 40px;
}

strong {
    color: #032f21;
}

em {
    color: #063f33;
}

:root{
  --paper:#f9fafb;
}

.analysis-section{
  padding: 24px 0;
}

.metric-cagr {
  display: inline-block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.metric-label {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 4px;
}

.metric-value {
  font-family: Calibri, sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

/* =========================
   PAGE LAYOUT
========================= */

.page-layout {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr)
        220px;

    gap: 40px;

    max-width: 1500px;

    margin: 0 auto;

    padding: 40px;
}


/* =========================
   LEFT NAVIGATION
========================= */

.sidebar {

    position: sticky;

    top: 40px;

    height: fit-content;

    padding-right: 20px;

    border-right: 1px solid #ddd;

}


.term-label {

    font-size: 0.75rem;

    font-weight: bold;

    letter-spacing: 1px;

    margin-bottom: 12px;

    color: #777;

}


.sidebar a {

    display: block;

    margin-bottom: 10px;

    text-decoration: none;

    color: #333;

    font-size: 0.9rem;

}


.sidebar a:hover {

    text-decoration: underline;

}


.coming-soon {

    font-size: 0.9rem;

    color: #999;

}
.sidebar h2 {
    font-size: 20px;
    margin-bottom: 35px;
}

.conclusion {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

/* =========================
   RIGHT PHOTO COLUMN
========================= */

/* =========================
        PHOTO COLUMN
      ========================= */

      .photo-column {
          display: flex;
          flex-direction: column;
          gap: 35px;
          align-items: center;
      }

      .photo-frame {
          width: 250px;
          background: #faf9f6;
          padding: 10px;
          border: 1px solid #ddd;
          box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
          transition: transform 0.25s ease;
          box-sizing: border-box;
      }

      .photo-frame img {
          display: block;
          width: 100%;
          height: 220px;
          object-fit: cover;
      }

      /* Slightly different rotations */

      .photo-one {
          transform: rotate(-2deg);
      }

      .photo-two {
          transform: rotate(2deg);
      }

      .photo-three {
          transform: rotate(-1.5deg);
      }

      .photo-four {
      transform: rotate(2deg);
      }

      .photo-five {
      transform: rotate(-2deg);
    }


      /* Hover */

      .photo-one:hover,
      .photo-two:hover,
      .photo-three:hover,
      .photo-four:hover,
      .photo-five:hover {
          transform: rotate(0deg) scale(1.04);
      }

    .photo-spacer {
      height: 1000px;
    }


/* =========================
   MOBILE
========================= */

@media (max-width: 1000px) {

    .page-layout {

        grid-template-columns:
            180px
            minmax(0, 1fr);

    }


    .photo-column {

        display: none;

    }

}


@media (max-width: 700px) {

    .page-layout {

        display: block;

        padding: 20px;

    }


    .sidebar {

        position: static;

        border-right: none;

        border-bottom: 1px solid #ddd;

        margin-bottom: 40px;

        padding-bottom: 20px;

    }


    .sidebar nav {

        display: flex;

        gap: 30px;

        flex-wrap: wrap;

    }

      
}

/* =========================================
   FIND YOUR LEADERSHIP STYLE — INTERACTIVE
   ========================================= */

/* Make the question heading slightly smaller */
#quiz h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 22px;
}


/* Make the answer choices more compact */
#quiz .grid {
    gap: 28px;
    margin: 18px 0 20px;
}

#quiz .choice {
    padding: 6px 4px 8px;
}


/* Slightly smaller A/B circles */
#quiz .letter {
    width: 24px;
    height: 24px;
    margin-bottom: 12px;
}


/* Keep the answer text readable but compact */
#quiz .main {
    font-size: 18px;
}


/* Reduce vertical space around the meter */
#quiz .meter {
    margin: 16px 0 20px;
}


/* Reduce space before the buttons */
#quiz .actions {
    margin-top: 20px;
}


/* -----------------------------------------
   RESULT PAGE
   ----------------------------------------- */

/* Remove the horizontal line and excess
   space above the result */
#result {
    border-top: none;
    margin-top: 20px;
    padding-top: 10px;
}


/* Result heading */
#result h3 {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: normal;
    margin: 0 0 14px;
}


/* Result paragraphs */
#result p {
    color: #68717a;
    max-width: 680px;
}


/* Example box */
#result .example {
    border-left: 2px solid #b79a57;
    padding-left: 18px;
    margin: 24px 0;
}


/* Hide the "Your instinctive leadership style"
   label if it is still present */
#result .result-title {
    display: none;
}


/* -----------------------------------------
   MOBILE
   ----------------------------------------- */

@media (max-width: 680px) {

    #quiz h2 {
        font-size: 25px;
    }

    #quiz .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #quiz .choice {
        padding: 5px 4px 8px;
    }

}

/* Inflation interactive */
#inflation-calculator .input-group label {
    font-size: 20px;
}


/* Homepage photo size */
.photo-frame {
    width: 280px;
}

.photo-frame img {
    height: 280px;
}

/* Make room for the larger photo */
.page-layout {
    grid-template-columns: 220px minmax(0, 1fr) 300px;
}

/* Style the clickable ABOUT heading */
.sidebar a.about-link {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    color: #777;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Indent About Me and Contact under ABOUT */
.nav-subitems {
    padding-left: 12px;
    margin-bottom: 24px;
}

.nav-subitems a {
    font-size: 0.9rem;
}

/* =========================
   TOP HORIZONTAL NAVIGATION
========================= */

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 5%;
    background: #f9faf7;
    border-bottom: 1px solid #e2dce4;
    position: relative;
    z-index: 1000;
    box-sizing: border-box;
}

.site-name {
    color: #57026a;
    font-family: Georgia, serif;
    font-size: 24px;
    text-decoration: none;
    white-space: nowrap;
}

.top-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.top-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #333;
    font: inherit;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.top-nav-link:hover,
.top-nav-link:focus-visible,
.site-name:hover {
    color: #57026a;
}

.top-nav-link:focus-visible,
.site-name:focus-visible {
    outline: 2px solid #57026a;
    outline-offset: 4px;
}

/* PGPMAX DROPDOWN */

.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 12px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 190px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e2dce4;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a,
.dropdown-disabled {
    display: block;
    padding: 10px 16px;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: #f5eef7;
    color: #57026a;
}

.dropdown-disabled {
    color: #999;
    cursor: default;
}

/* SPACING BELOW THE TOP NAVIGATION */

.page-layout {
    margin-top: 0;
}

/* HOMEPAGE: CONTENT + PHOTO, WITHOUT OLD SIDEBAR */

.page-layout.home-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
}

/* ABOUT PAGE: SINGLE CONTENT COLUMN */

.page-layout.about-layout {
    display: block;
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 30px;
}

.about-layout main {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 0;
}

/* RESPONSIVE NAVIGATION */

@media (max-width: 700px) {
    .top-nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    .top-nav-links {
        width: 100%;
        gap: 20px;
        flex-wrap: wrap;
    }

    .site-name {
        font-size: 22px;
    }

    .top-nav-link {
        font-size: 15px;
    }

    .dropdown-menu {
        left: 0;
    }

    .page-layout.home-layout {
        display: block;
        padding: 20px;
    }

    .page-layout.home-layout .photo-column {
        display: flex;
        margin-top: 30px;
    }

    .page-layout.home-layout .photo-frame {
        width: 250px;
    }

    .page-layout.home-layout .photo-frame img {
        height: 250px;
    }
}