*, *::before, *::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #d8e9c5;
  text-align: center;
}

h1 {
  color: #4f4f4f;
  text-align: center;
}

.team-section {
    margin: 0;
    padding: 40px 24px 60px;
    background: linear-gradient(180deg, rgba(232,245,227,0.98) 0%, rgba(216,233,197,0.95) 100%);
    border-radius: 0 0 20px 20px;
}

.team-section h1.original-font {
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 3.8rem;
    line-height: 1.05;
    color: #1f5a3d;
}

.team-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 36px;
    margin: 4.5rem auto 5.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
}

.team-header-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 340px);
    margin: 0 auto;
}

.team-header-image {
    width: 100%;
    min-height: 384px;
    border-radius: 70% / 65%;
    background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(108,157,103,0.18));
    box-shadow: inset 0 0 0 1px rgba(38, 75, 52, 0.18), 0 24px 64px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.team-header-image > img {
    display: none;
}

.founder-intro {
    display: block;
    flex: 1 1 620px;
    max-width: 780px;
    min-width: 460px;
}

.founder-intro h2 {
    margin: 0;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.1;
    color: #264b34;
    text-align: left;
}

.founder-bio {
    font-family: 'Source Sans Pro', sans-serif;
    margin-top: 1rem;
    color: #2f3f2c;
    line-height: 1.7;
    text-align: left;
    max-width: 760px;
}

.founder-bio a {
    color: inherit;
    text-decoration: underline;
}

.founder-bio a:hover {
    color: inherit;
}

.founder-links {
    margin: 1.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.founder-links .button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: #4c8f55;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease;
}

.founder-links .button-link:hover {
    background: #66b079;
}

.founder-links .button-link img {
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 0;
}

.founder-links .button-link.facebook-link img {
    width: 40px;
    height: 40px;
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

main {
    background-color: #d8e9c5;
    min-height: calc(100vh - 120px);
    padding-top: 0;
    padding-bottom: 40px;
}

h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.team-section h2,
.right-column h2 {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.1;
    color: #264b34;
}

.right-column p {
  margin-bottom: 1.5rem;
}

/* Header style */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;                  /* use flexbox */
  justify-content: space-between; /* logo left, nav right */
  align-items: center;            /* vertically center items */
  padding: 6px 12px;
  background-color: rgba(224, 224, 224, 0.85);
  color: #1f5a3d;
  overflow: hidden;      /* prevents bar from growing */
}




/* logo image */
.logo img {
  height: 80px;
  transform: scale(2.5) translateY(2px);
  transform-origin: left center;
}







/* navigation menu */
nav ul {
  list-style: none;
  display: flex;                 /* horizontal tabs */
  margin: 0;
  padding: 0;
}

/* nudge the whole nav a bit left from the right edge */
nav {
  margin-right: 20px;
}

nav ul li {
  margin-left: 30px;             /* spacing between tabs */
}

nav ul li a {
  color: #1f5a3d;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #4f8b6a;
  transform: scale(1.05);       /* subtle pop */
  text-decoration: underline;
}





/* Section styles */

.spacer {
    height: 40px;
}

.mission-block {
    width: auto;
    margin: 0 auto;
    min-height: 520px;
    padding: 0;
    text-align: center;
    background-color: transparent;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-header-block {
    min-height: 40vh;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 3rem;
}

.project-title {
    font-family: 'Instrument Serif', serif !important;
    font-style: italic !important;
    font-weight: 700 !important;
    font-size: clamp(3rem, 5vw, 5rem);
    color: #264b34;
    margin: 0;
    font-feature-settings: 'liga' 1, 'clig' 1;
    letter-spacing: -0.03em;
}

.video-mission-block {
    position: relative;
}

.mission-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.95;
}

.video-mission-block .mission-card {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.88);
}

.mission-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 30px 32px;
    background-color: rgba(255, 255, 255, 0.88);
    color: #222222;
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
    position: relative;
    top: 0;
}

.mission-card h1,
.mission-card p {
    max-width: 760px;
    margin: 0 auto;
}

.projects-gallery {
    padding: 0 24px 60px;
}

.storymaps-subheader {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    padding: 0 0 0.25rem;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    color: #264b34;
    text-align: center;
}

.projects-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
    align-items: stretch;
}

.project-card {
    display: block;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(28, 50, 31, 0.12);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 100%;
    cursor: pointer;
}

.project-card:link,
.project-card:visited,
.project-card:hover,
.project-card:active {
    color: inherit;
    text-decoration: none;
}

.project-card-embed {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 360px;
}

.project-card-embed iframe {
    display: block;
    width: 58%;
    min-width: 0;
    height: 360px;
    border: 0;
    background: #eef3ee;
    overflow: auto;
    flex-shrink: 0;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 28px rgba(28, 50, 31, 0.18);
}

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

.project-card-content {
    width: 42%;
    min-width: 220px;
    padding: 1.5rem 1.3rem 1.3rem 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.project-card-content h2 {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.35;
    color: #264b34;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.project-card-content p {
    margin: 0;
    color: #3d4d3b;
    line-height: 1.6;
    text-align: left;
    font-size: 1rem;
}

.resources-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 24px 4rem;
}

.resources-intro {
    margin-bottom: 2.5rem;
    text-align: center;
}

.resources-intro h1 {
    margin: 0 0 0.8rem;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.05;
    color: #264b34;
}

.resources-intro p {
    margin: 0 auto;
    max-width: 760px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #2f3f2c;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.resource-card {
    display: block;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 18px;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 12px 24px rgba(28, 50, 31, 0.12);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 28px rgba(28, 50, 31, 0.18);
}

.resource-card h2 {
    margin: 0 0 0.6rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #264b34;
    font-weight: 700;
    text-align: left;
}

.resource-card p {
    margin: 0;
    color: #3b4f3d;
    line-height: 1.6;
    text-align: left;
}

.mission-card h1 {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.05;
    color: #1f5a3d;
    margin-bottom: 0.85rem;
}

.mission-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
}

.media-credit {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
    opacity: 0.8;
}

.video-footer {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    max-width: 260px;
    line-height: 1.4;
    text-align: left;
}

.site-footer {
    background: #3a3a3a;
    color: #f5f5f5;
    padding: 3.5rem 2rem 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(220px, 1fr) minmax(220px, 280px);
    gap: 2.5rem;
    padding: 0 0 0.01rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.95rem 0 0 0;
    color: #d9d9d9;
    text-align: center;
    font-size: 0.95rem;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-family: 'Instrument Serif', serif;
    font-size: 1.75rem;
    color: #ffffff;
}

.footer-logo img {
    width: 320px;
    height: auto;
    margin-top: -6rem;
}

.footer-address {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    padding-left: 1.75rem;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 300px;
    max-width: 360px;
    text-align: left;
    margin-top: 2.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.footer-address p {
    margin: 0;
    font-size: 1.1875rem;
    line-height: 1.4;
    opacity: 0.85;
    color: #f5f5f5;
}

.footer-links,
.footer-contact {
    min-width: 0;
    font-size: 1.25rem;
}

.footer-contact {
    grid-column: 3;
    align-self: flex-start;
    margin-left: 0;
    transform: translate(-6rem, 1.5rem);
    text-align: right;
}

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 0.75rem;
    font-family: 'Instrument Serif', serif;
    font-size: 1.45rem;
    color: #e0f0df;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-contact li {
    margin-bottom: 1.25rem;
}

.footer-contact-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links a,
.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.92;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
}

.footer-links a:hover {
    text-decoration: underline;
}

main {
    background-color: #d8e9c5;
    min-height: calc(100vh - 120px);
    padding-bottom: 40px;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 50px;

    width: auto;
    max-width: none;
    margin: 50px 40px;
    padding: 30px;
    background-color: transparent;
    border-radius: 16px;
}

.left-column {
    flex: 1.2;
}

.right-column {
    flex: 1;
}

.left-column img,
.image-placeholder {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.image-placeholder {
    min-height: 420px;
    background-color: #d3d3d3;
    color: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.right-column {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
}

.right-column p {
    margin: 0 auto 1.5rem;
    max-width: 520px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.heading-stack {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: 320px;
    gap: 0.1rem;
    margin: 3.5rem auto 1rem;
    align-items: flex-start;
}

.heading-stack .original-font {
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 2rem;
    margin-left: 2rem;
    background: linear-gradient(90deg, #b93b36, #d9742e, #d18820);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.heading-secondary {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.05;
    display: inline-block;
    margin-left: 3.6rem;
}

.right-column h2 {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 700;
}

@media (max-width: 768px) {
    .split-section {
        flex-direction: column;
    }
}





/* Team Decks */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1100px;
    margin: auto;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.card img, .member-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e1e6d5;
    color: #5c6d4a;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 2px dashed #9aa78a;
    border-radius: 18px;
    background: rgba(225, 230, 213, 0.55);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.card-content h3 {
    margin: 0;
}

.card-content h4 {
    margin: 5px 0 10px;
    font-weight: normal;
    color: gray;
    font-size: 14px;
}

.card-content p {
    font-size: 14px;
    line-height: 1.4;
}
