* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #f4f1e8, #e6ecd9);
    color: #1f2c1f;
    line-height: 1.6;
}

/* GLOBAL */

.hero,
.section,
.footer,
.portfolio-header,
.portfolio-grid-section {
    width: 100%;
    margin: auto;
}

main {
    position: relative;
}

.section {
    padding: 100px 60px;
    position: relative;
    background:
        linear-gradient(to bottom, rgba(244, 241, 232, 0.96), rgba(244, 241, 232, 0.96)),
        url("https://www.transparenttextures.com/patterns/topography.png");
    background-repeat: repeat;
    background-size: auto;
}

.section::before,
.cards-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.10),
        rgba(0, 0, 0, 0.02)
    );
    pointer-events: none;
}

.section-text,
.section-intro {
    max-width: 860px;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: #5f7556;
    margin-bottom: 6px;
    font-weight: 700;
    text-decoration:none;
}

.section h2,
.footer h2 {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #233223;
}

.section-intro {
    margin-bottom: 10px;
    color: #425242;
    font-size: 1.05rem;
}
.defensible-space-layout {
    align-items: start;
}

.defensible-space-layout .about-feature-text {
    max-width: 760px;
}

.defensible-space-layout .portfolio-section-intro {
    margin-bottom: 22px;
    max-width: 760px;
}

.defensible-space-layout .about-feature-image {
    min-height: 520px;
}

.defensible-space-layout .about-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

section p + p {
    margin-top: 10px;
}

/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    padding-left: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    transition: width 0.25s ease, background-color 0.25s ease;
}

/* HOME HERO  */

.hero {
    min-height: 100vh;
    background:
        linear-gradient(to right, rgba(20, 30, 20, 0.62) 0%, rgba(20, 30, 20, 0.48) 38%, rgba(20, 30, 20, 0.20) 65%, rgba(20, 30, 20, 0.10) 100%),
        linear-gradient(to top, rgba(18, 28, 18, 0.34) 0%, rgba(18, 28, 18, 0.10) 40%, rgba(18, 28, 18, 0.16) 100%),
        url("../images/hero/grass_flipped.jpg");
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-attachment: scroll, scroll, fixed;
    color: white;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(
        to bottom,
        rgba(10, 18, 10, 0.65),
        rgba(10, 18, 10, 0)
    );
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0) 42%,
        rgba(0, 0, 0, 0.22) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero .logo {
    color: #ffffff;
}

.hero .nav-links a {
    color: white;
}

.hero .nav-links a::after {
    background-color: #d7e7cf;
}

.hero .nav-links a:hover {
    color: #f1f6ec;
}

.hero .nav-links a:hover::after {
    width: 100%;
    background-color: #d9e8cf;
}

.hero-content {
    max-width: 760px;
    margin-top: auto;
    margin-bottom: auto;
    padding: 60px 0 110px 0;
    position: relative;
    z-index: 2;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: #d7e7cf;
    font-weight: 600;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    max-width: 760px;
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.hero-title-top {
    display: block;
    font-size: 3.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    line-height: 0.98;
}

.hero-title-bottom {
    display: block;
    font-size: 3.7rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 0.95;
    max-width: 760px;
}

.nowrap {
    white-space: nowrap;
}

.hero-text {
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 30px;
    color: #edf4e7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    background: linear-gradient(to right, #c6d6a6, #aabf7a);
    color: #1e2b1d;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(3px);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/*  HOME PAGE SECTIONS */
/*  TREE TECH SECTION  */

.tree-tech-section {
    padding: 90px 60px 80px 60px;
    background: linear-gradient(to bottom, #f4f1e8, #eef2e7);
}

.tree-tech-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.tree-tech-heading {
    text-align: center;
    margin-bottom: 48px;
}

.tree-tech-heading h2 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.tree-tech-intro {
    max-width: 720px;
    margin: 0 auto;
    color: #445244;
    line-height: 1.8;
}

/*  GRID  */

.tree-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/*  CARD BASE  */

.tree-tech-card {
    position: relative;
    display: block;
    padding: 32px 28px;
    border-radius: 26px;
    text-decoration: none;

    background: linear-gradient(to bottom, rgba(255,255,255,0.94), rgba(247,244,236,0.98));
    border: 1px solid rgba(80, 98, 70, 0.12);

    color: #233223;
    min-height: auto;

    box-shadow: 0 14px 30px rgba(0,0,0,0.08);

    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/*  IMAGE LAYER  */

.tree-tech-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 0.45s ease;

    mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1) 55%,
        rgba(0,0,0,0.6) 70%,
        rgba(0,0,0,0.2) 85%,
        rgba(0,0,0,0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1) 55%,
        rgba(0,0,0,0.6) 70%,
        rgba(0,0,0,0.2) 85%,
        rgba(0,0,0,0) 100%
    );

    z-index: 0;
}



.tree-tech-card.geospatial::before {
    background-image: url("../images/hero/topography.jpg");
}

.tree-tech-card.forestry::before {
    background-image: url("../images/hero/forest.jpg");
}

.tree-tech-card.grants::before {
    background-image: url("../images/hero/paperwork.jpg");
}


.tree-tech-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(255,255,255,0.94) 0%,
        rgba(247,244,236,0.92) 60%,
        rgba(247,244,236,0.75) 80%,
        rgba(247,244,236,0.4) 100%
    );

    opacity: 0;
    transition: opacity 0.45s ease;

    z-index: 1;
}

/*  TEXT  */

.tree-tech-card h3,
.tree-tech-card p {
    position: relative;
    z-index: 2;
}

.tree-tech-card h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.tree-tech-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #425242;
}

/*  HOVER  */

.tree-tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(0,0,0,0.12);
    border-color: rgba(92, 120, 78, 0.28);
}

.tree-tech-card:hover::before,
.tree-tech-card:hover::after {
    opacity: 1;
}

/*  RESPONSIVE  */

@media (max-width: 900px) {
    .tree-tech-grid {
        grid-template-columns: 1fr;
    }

    .tree-tech-section {
        padding: 70px 24px;
    }
}
/*  ABOUT SIDE IMAGE  */

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 0;         
    box-shadow: none;          
    background: transparent;   
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.about-image {
    min-height: 260px;
}


.skills-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 34px;
    align-items: start;
    margin-top: 28px;
}

.skills-image {
    border-radius: 24px;
    overflow: hidden;
    background: #d9dfd0;
    box-shadow: 0 12px 28px rgba(35, 50, 35, 0.10);
    min-height: 640px;
}

.skills-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.skills-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.cards-section {
    position: relative;
    background:
        linear-gradient(to bottom, rgba(223, 232, 210, 0.94), rgba(207, 220, 196, 0.94)),
        url("https://www.transparenttextures.com/patterns/topography.png");
    background-repeat: repeat;
    background-size: auto;
    border-top: 1px solid rgba(83, 102, 77, 0.08);
    border-bottom: 1px solid rgba(83, 102, 77, 0.08);
}

/*  CARDS  */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 34px;
}
.skills-section .section-label,
.skills-section h2 {
    text-align: center;
}
.skills-section {
    padding-top: 60px;   
}

.skills-section .eyebrow {
    margin-bottom: 4px;
}

.skills-section .section-label {
    margin-bottom: 6px;
}

.skills-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.card {
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.93), rgba(247, 244, 236, 0.97));
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(80, 98, 70, 0.12);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
    border-color: rgba(92, 120, 78, 0.35);
}

.map-card {
    min-height: 280px;
}

.card-topo {
    position: absolute;
    inset: 0;
    background: url("https://www.transparenttextures.com/patterns/topography.png");
    opacity: 0.16;
    pointer-events: none;
}

/*  SKILL CARD IMAGE HOVER  */

.skill-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: inherit;
    text-decoration: none;
}

/* background image layer */
.skill-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 0.45s ease, transform 0.6s ease;
    transform: scale(1.02);

    mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 50%,   
    rgba(0, 0, 0, 0.7) 65%,
    rgba(0, 0, 0, 0.3) 80%,
    rgba(0, 0, 0, 0) 92%
    );
    -webkit-mask-image: linear-gradient(
        to left,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.7) 65%,
        rgba(0, 0, 0, 0.3) 80%,
        rgba(0, 0, 0, 0) 92%
    );

    z-index: 0;
}


.skill-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;

    background: rgba(255, 255, 255, 0.82);

    z-index: 1;
}

/* reveal on hover */
.skill-card:hover::before,
.skill-card:hover::after {
    opacity: 1;
}

.skill-card:hover::before {
    transform: scale(1);
}

/* keep content above hover image */
.skill-card h3,
.skill-card ul,
.skill-card li,
.skill-card p {
    position: relative;
    z-index: 2;
}

.geospatial-card::before {
    background-image: url("../images/hero/lidar2.jpg");
    background-size: auto;
    background-repeat: repeat;
}

.forestry-card::before {
    background-image: url("../images/hero/aspen.jpg");
}

.grant-card::before {
    background-image: url("../images/hero/mastication.jpg");
}
/*  CARD BULLET LIST  */

.card-list {
    margin-top: 10px;
    padding-left: 18px;
    color: #3e4c3d;
    line-height: 1.6;
}

.card-list li {
    margin-bottom: 6px;
}
.card-type,
.card h3,
.card p,
.card-link {
    position: relative;
    z-index: 1;
}
.skill-card h3,
.skill-card ul,
.skill-card li,
.skill-card p {
    position: relative;
    z-index: 2;
}

.skill-card h3 {
    color: #2d4b32;
}

.card-type {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: #6f8664;
    margin-bottom: 10px;
    font-weight: 700;
}

.card h3 {
    margin-bottom: 12px;
    color: #2d4b32;
    font-size: 1.45rem;
    line-height: 1.2;
}

.card p {
    color: #3e4c3d;
}

.card-link {
    display: inline-block;
    margin-top: 18px;
    font-weight: 700;
    color: #4e6a45;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.card:hover .card-link {
    transform: translateX(4px);
    color: #2f4f2f;
}



/*  SHARED PORTFOLIO-TYPE HEADER  */

.portfolio-header {
    position: relative;
    padding: 32px 60px 12px 60px;
    background:
        radial-gradient(circle at top left, rgba(118, 140, 108, 0.08), transparent 38%),
        linear-gradient(to bottom, #f4f1e8, #eef2e7);
    overflow: hidden;
}

.portfolio-header .navbar {
    margin-bottom: 10px;
}

.portfolio-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/cartographer.png");
    background-repeat: repeat;
    opacity: 0.30;
    pointer-events: none;
    z-index: 0;
}

.portfolio-logo {
    color: #233223;
}

.portfolio-nav .nav-links a {
    color: #233223;
}

.portfolio-nav .nav-links a::after {
    background-color: #5f7556;
}

.portfolio-nav .nav-links a:hover {
    color: #425242;
}

.portfolio-nav .nav-links a:hover::after {
    width: 100%;
}

.portfolio-hero {
    position: relative;
    z-index: 1;
    padding: 12px 0 20px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.75fr);
    gap: 72px;
    align-items: center;
}

.portfolio-hero-left {
    max-width: 920px;
    margin-top: -4px;
}

.portfolio-title {
    font-size: clamp(3.2rem, 6.3vw, 5.8rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    color: #223122;
    margin: 0;
    max-width: 900px;
}

.portfolio-title span {
    color: #314031;
}

.portfolio-hero-right {
    max-width: 520px;
    justify-self: end;
    padding: 28px 30px;
    border-left: none;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(95, 117, 86, 0.12);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(52, 67, 45, 0.05);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio-intro {
    font-size: 1.12rem;
    color: #3f4d3d;
    line-height: 1.75;
    max-width: 520px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-tag,
.portfolio-tag:visited,
.portfolio-tag:hover,
.portfolio-tag:active {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(95, 117, 86, 0.14);
    color: #334133;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: none;
    backdrop-filter: blur(3px);
    text-decoration: none;
}

.portfolio-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(39, 52, 36, 0.08);
    border-color: rgba(95, 117, 86, 0.26);
}

.portfolio-divider {
    position: relative;
    z-index: 1;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(95, 117, 86, 0.16) 20%,
        rgba(95, 117, 86, 0.22) 50%,
        rgba(95, 117, 86, 0.16) 80%,
        transparent 100%
    );
}

.portfolio-grid-section {
    padding: 40px 60px 100px 60px;
}

.portfolio-grid-section-alt {
    background:
        linear-gradient(to bottom, rgba(223, 232, 210, 0.94), rgba(207, 220, 196, 0.94)),
        url("https://www.transparenttextures.com/patterns/topography.png");
    background-repeat: repeat;
    background-size: auto;
    border-top: 1px solid rgba(83, 102, 77, 0.08);
    border-bottom: 1px solid rgba(83, 102, 77, 0.08);
    border-radius: 0;
    margin-bottom: 0;
}

.portfolio-section-heading {
    max-width: 860px;
    margin-bottom: 34px;
}

.portfolio-section-heading h2 {
    font-size: 2.5rem;
    line-height: 1.06;
    margin-bottom: 14px;
    color: #233223;
    letter-spacing: -0.035em;
}

.portfolio-section-intro {
    font-size: 1.07rem;
    color: #425242;
    line-height: 1.72;
    max-width: 760px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.portfolio-tile {
    position: relative;
    display: block;
    grid-column: span 4;
    min-height: 340px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    background-color: #d9dfd0;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.portfolio-tile.full {
    grid-column: span 12;
    min-height: 470px;
}

.portfolio-tile.large {
    grid-column: span 8;
    min-height: 420px;
}

.portfolio-tile.wide {
    grid-column: span 8;
    min-height: 340px;
}

.portfolio-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.portfolio-tile:hover img {
    transform: scale(1.04);
    filter: brightness(1.02);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 28px;
    background: linear-gradient(
        to top,
        rgba(16, 24, 16, 0.84) 0%,
        rgba(16, 24, 16, 0.24) 55%,
        rgba(16, 24, 16, 0.04) 100%
    );
    color: white;
}

.project-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #dce9d4;
}

.tile-overlay h3 {
    color: white;
    font-size: 1.85rem;
    line-height: 1.04;
    max-width: 92%;
}

.portfolio-tile.large .tile-overlay h3 {
    font-size: 2.1rem;
    max-width: 82%;
}

.portfolio-tile.full .tile-overlay h3 {
    font-size: 2.95rem;
    max-width: 760px;
}

/*  ABOUT PAGE  */

.about-header-photo {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(to right, rgba(16, 22, 16, 0.58) 0%, rgba(16, 22, 16, 0.34) 28%, rgba(16, 22, 16, 0.12) 52%, rgba(16, 22, 16, 0.04) 72%, rgba(16, 22, 16, 0.02) 100%),
        linear-gradient(to top, rgba(8, 10, 8, 0.18) 0%, rgba(8, 10, 8, 0.04) 45%, rgba(8, 10, 8, 0.02) 100%),
        url("../images/hero/conference.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.about-header-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.02) 26%,
        rgba(0, 0, 0, 0.14) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.about-header-photo .portfolio-logo,
.about-header-photo .portfolio-nav .nav-links a {
    color: #f4f1e8;
}

.about-header-photo .portfolio-nav .nav-links a::after {
    background-color: rgba(244, 241, 232, 0.9);
}

.about-header-photo .portfolio-divider {
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.10) 20%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.10) 80%,
        transparent 100%
    );
}

.about-header-photo .portfolio-hero {
    position: relative;
    z-index: 1;
    padding: 42px 0 34px 0;
    align-items: end;
    min-height: 520px;
    gap: 56px;
}

.about-header-photo .portfolio-hero-left {
    align-self: end;
    max-width: 760px;
    margin-top: 0;
}

.about-photo-label {
    color: #dce9d4;
    margin-bottom: 10px;
}

.about-photo-title {
    color: #ffffff;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    max-width: 760px;
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
}

.about-photo-panel {
    align-self: center;
    background: rgba(244, 241, 232, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.about-header-photo .portfolio-intro {
    color: #465344;
    font-size: 1.04rem;
    line-height: 1.75;
}

.about-header-photo .portfolio-tag,
.about-header-photo .portfolio-tag:visited,
.about-header-photo .portfolio-tag:hover,
.about-header-photo .portfolio-tag:active {
    background: rgba(255, 255, 255, 0.88);
    color: #334133;
    border: 1px solid rgba(95, 117, 86, 0.14);
}

.about-header-photo .portfolio-tag:hover {
    background: rgba(255, 255, 255, 0.98);
}

.about-page .portfolio-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.15));
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.about-page .portfolio-logo,
.about-page .portfolio-nav .nav-links a {
    color: #ffffff;
}

.about-page .portfolio-nav .nav-links a::after {
    background-color: rgba(255, 255, 255, 0.9);
}

.about-page .portfolio-divider {
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.14) 20%,
        rgba(255, 255, 255, 0.24) 50%,
        rgba(255, 255, 255, 0.14) 80%,
        transparent 100%
    );
}

.about-page .portfolio-title {
    color: #ffffff;
    max-width: 980px;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
}

.about-page .portfolio-hero-right {
    background: rgba(244, 241, 232, 0.90);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.about-page .portfolio-tag,
.about-page .portfolio-tag:visited,
.about-page .portfolio-tag:hover,
.about-page .portfolio-tag:active {
    color: #334133;
}

.about-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 48px;
    align-items: start; 
}
.overview-layout {
    align-items: start;
}

.overview-layout .about-main-text h2 {
    font-size: 2.5rem;
    line-height: 1.06;
    margin-bottom: 18px;
    color: #233223;
    letter-spacing: -0.035em;
}

.overview-layout .about-inline-image {
    min-height: 520px;
    margin-top: 0;
}

.overview-layout .about-inline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-main-text {
    max-width: 860px;
}

.about-main-text p {
    font-size: 1.08rem;
    color: #3f4d3d;
    line-height: 1.85;
}

.about-main-text p + p {
    margin-top: 18px;
}

.about-side-column {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-side-note {
    position: relative;
}

.about-inline-image,
.about-experience-image,
.about-feature-image {
    border-radius: 24px;
    overflow: hidden;
    background: #d9dfd0;
    box-shadow: 0 12px 28px rgba(35, 50, 35, 0.10);
}

.about-inline-image {
    min-height: 320px;
}

.about-inline-image img,
.about-experience-image img,
.about-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-quote-card {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(95, 117, 86, 0.14);
    border-radius: 22px;
    padding: 26px 24px;
    box-shadow: 0 10px 24px rgba(39, 52, 36, 0.06);
    backdrop-filter: blur(4px);
}

.about-quote {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #314031;
    font-weight: 600;
}

.about-education-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.about-education-card {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.90), rgba(247, 244, 236, 0.96));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.about-education-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.76rem;
    color: #6f8664;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-education-card h3 {
    font-size: 1.3rem;
    line-height: 1.2;
    color: #233223;
    margin-bottom: 8px;
}

.about-education-card p {
    color: #425242;
    font-size: 1rem;
    line-height: 1.65;
}

.about-strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-strength-card {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.93), rgba(247, 244, 236, 0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.about-strength-card h3 {
    font-size: 1.28rem;
    color: #233223;
    margin-bottom: 16px;
    line-height: 1.2;
}

.about-strength-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.about-strength-card li {
    position: relative;
    padding-left: 18px;
    color: #3f4d3d;
    line-height: 1.7;
    margin-bottom: 10px;
}

.about-strength-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #6f8664;
    font-weight: 700;
}

.about-experience-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 30px;
    align-items: start;
}

.about-experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-experience-card {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.90), rgba(247, 244, 236, 0.96));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.about-experience-card h3 {
    font-size: 1.22rem;
    color: #233223;
    margin-bottom: 12px;
}

.about-experience-card p {
    color: #425242;
    line-height: 1.75;
}

.about-experience-image {
    min-height: 100%;
}

.about-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 34px;
    align-items: center;
}

.about-feature-text h2 {
    font-size: 2.4rem;
    line-height: 1.08;
    margin-bottom: 16px;
    color: #233223;
    letter-spacing: -0.03em;
}

.about-feature-text p {
    color: #425242;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 760px;
}

.about-feature-image {
    min-height: 380px;
}
/*  FVS REDESIGN  */

.fvs-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 42px;
}

.fvs-editorial-text h2 {
    font-size: 2.5rem;
    line-height: 1.06;
    margin-bottom: 18px;
    color: #233223;
    letter-spacing: -0.035em;
}

.fvs-editorial-lead {
    font-size: 1.08rem;
    color: #425242;
    line-height: 1.8;
    max-width: 820px;
    margin-bottom: 18px;
}

.fvs-editorial-text p:not(.section-label):not(.fvs-editorial-lead) {
    color: #425242;
    line-height: 1.8;
    font-size: 1.02rem;
    max-width: 820px;
}

.fvs-editorial-panel {
    background: linear-gradient(to bottom, rgba(255,255,255,0.93), rgba(247,244,236,0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.fvs-panel-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.76rem;
    color: #6f8664;
    font-weight: 700;
    margin-bottom: 18px;
}

.fvs-panel-list {
    display: grid;
    gap: 18px;
}

.fvs-panel-item strong {
    display: block;
    font-size: 1.05rem;
    color: #233223;
    margin-bottom: 6px;
}

.fvs-panel-item span {
    display: block;
    color: #425242;
    line-height: 1.6;
    font-size: 0.96rem;
}

.fvs-sequence-block {
    margin-top: 8px;
}

.fvs-sequence-heading {
    max-width: 860px;
    margin-bottom: 24px;
}

.fvs-sequence-heading h3 {
    font-size: 1.8rem;
    line-height: 1.12;
    color: #233223;
    margin-bottom: 10px;
}

.fvs-sequence-heading p {
    color: #425242;
    line-height: 1.75;
}

.fvs-sequence-timeline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.fvs-timeline-card {
    margin: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.93), rgba(247,244,236,0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.fvs-timeline-image {
    aspect-ratio: 4 / 3;
    background: #d9dfd0;
}

.fvs-timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fvs-timeline-card figcaption {
    padding: 18px 18px 20px 18px;
}

.fvs-timeline-step {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    color: #6f8664;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.fvs-timeline-card strong {
    display: block;
    font-size: 1rem;
    color: #233223;
    line-height: 1.35;
    margin-bottom: 8px;
}

.fvs-timeline-card p {
    color: #425242;
    font-size: 0.94rem;
    line-height: 1.6;
}

.fvs-timeline-arrow {
    text-align: center;
    font-size: 1.4rem;
    color: #6f8664;
    opacity: 0.75;
}

@media (max-width: 1100px) {
    .fvs-editorial-grid {
        grid-template-columns: 1fr;
    }

    .fvs-sequence-timeline {
        grid-template-columns: 1fr;
    }

    .fvs-timeline-arrow {
        transform: rotate(90deg);
        padding: 8px 0;
    }
}
/*  FVS DATA SECTION  */

.fvs-data-section {
    margin-top: 42px;
}

.fvs-data-header {
    max-width: 820px;
    margin-bottom: 26px;
}

.fvs-data-header h3 {
    font-size: 1.75rem;
    color: #233223;
    line-height: 1.15;
    margin-bottom: 10px;
}

.fvs-data-header p {
    color: #425242;
    line-height: 1.75;
}

.fvs-data-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.fvs-data-card {
    background: linear-gradient(to bottom, rgba(255,255,255,0.94), rgba(247,244,236,0.98));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.fvs-data-card h4 {
    font-size: 1.05rem;
    color: #233223;
    margin-bottom: 10px;
}

.fvs-data-card ul {
    padding-left: 16px;
}

.fvs-data-card li {
    color: #425242;
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 6px;
}

.fvs-data-note {
    margin-top: 22px;
    max-width: 760px;
}

.fvs-data-note p {
    font-size: 0.98rem;
    color: #425242;
    line-height: 1.75;
}

/* responsive */
@media (max-width: 1100px) {
    .fvs-data-grid {
        grid-template-columns: 1fr;
    }
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.wildfire-hero-break {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 4.5rem;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 5.5rem 3.5rem 4.5rem;
}

.wildfire-break-image {
    position: relative;
}

.wildfire-break-image img {
    width: 100%;
    height: 360px;   
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
}


.wildfire-break-text {
    max-width: 560px;
}

.wildfire-break-text .section-label {
    margin-bottom: 1rem;
}

.wildfire-break-text h2 {
    font-size: clamp(2.4rem, 3.6vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: #1f2b1f;
}

.wildfire-break-text p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #485248;
    margin-bottom: 1.15rem;
}

@media (max-width: 1100px) {
    .wildfire-hero-break {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 4rem 2rem 3.5rem;
    }

    .wildfire-break-text {
        max-width: 100%;
    }

    .wildfire-break-image img {
        height: 420px;
    }
}

/*  WILDFIRE PAGE HEADER  */

.wildfire-header-photo {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(118, 140, 108, 0.10), transparent 36%),
        linear-gradient(to bottom, #f4f1e8, #eef2e7);
}

.wildfire-header-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/cartographer.png");
    background-repeat: repeat;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.wildfire-header-photo .portfolio-logo,
.wildfire-header-photo .portfolio-nav .nav-links a {
    color: #233223;
}

.wildfire-header-photo .portfolio-nav .nav-links a::after {
    background-color: #5f7556;
}

.wildfire-header-photo .portfolio-divider {
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(95, 117, 86, 0.16) 20%,
        rgba(95, 117, 86, 0.22) 50%,
        rgba(95, 117, 86, 0.16) 80%,
        transparent 100%
    );
}

.wildfire-header-photo .portfolio-hero {
    position: relative;
    z-index: 1;
    padding: 12px 0 20px 0;
    align-items: center;
    min-height: auto;
    gap: 72px;
}

.wildfire-photo-label {
    color: #5f7556;
    margin-bottom: 6px;
}

.wildfire-photo-title {
    color: #223122;
    font-size: clamp(3.2rem, 6.3vw, 5.8rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    max-width: 900px;
    text-shadow: none;
}

.wildfire-photo-panel {
    align-self: auto;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(95, 117, 86, 0.12);
    box-shadow: 0 10px 30px rgba(52, 67, 45, 0.05);
    backdrop-filter: blur(4px);
}

.wildfire-header-photo .portfolio-intro {
    color: #3f4d3d;
    font-size: 1.12rem;
    line-height: 1.75;
}

.wildfire-header-photo .portfolio-tag,
.wildfire-header-photo .portfolio-tag:visited,
.wildfire-header-photo .portfolio-tag:hover,
.wildfire-header-photo .portfolio-tag:active {
    background: rgba(255, 255, 255, 0.72);
    color: #334133;
    border: 1px solid rgba(95, 117, 86, 0.14);
}

.wildfire-header-photo .portfolio-tag:hover {
    background: rgba(255, 255, 255, 0.9);
}

/*  IMAGE FOOTER  */

.site-footer {
    position: relative;
    width: 100%;
    background:
        linear-gradient(to right, rgba(14, 22, 14, 0.80) 0%, rgba(14, 22, 14, 0.68) 38%, rgba(14, 22, 14, 0.50) 58%, rgba(14, 22, 14, 0.26) 78%, rgba(14, 22, 14, 0.14) 100%),
        linear-gradient(to top, rgba(8, 12, 8, 0.52), rgba(8, 12, 8, 0.14)),
        url("../images/hero/mont2.jpg");
    background-size: cover;
    background-position: 82% center;
    background-repeat: no-repeat;
    color: #f4f1e8;
    margin-top: 0;
}

.footer-overlay {
    width: 100%;
    padding: 72px 60px 28px 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 190px 170px;
    gap: 32px;
    align-items: start;
    max-width: 1180px;
}

.footer-brand h2 {
    font-size: 2.5rem;
    line-height: 1.05;
    margin-bottom: 18px;
    color: #ffffff;
    max-width: 620px;
    letter-spacing: -0.03em;
}

.footer-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.82rem;
    color: #d7e7cf;
    margin-bottom: 12px;
    font-weight: 700;
}

.footer-description {
    max-width: 560px;
    color: #e7efe2;
    font-size: 1.05rem;
    line-height: 1.8;
}

.footer-links-group h3 {
    font-size: 1.05rem;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li + li {
    margin-top: 10px;
}

.footer-links-list a {
    color: #e7efe2;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links-list a:hover {
    color: #ffffff;
    opacity: 0.9;
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    max-width: 100%;
}

.footer-bottom p {
    color: #dbe5d6;
    font-size: 0.95rem;
    margin: 0;
}

/*  IMAGE FOOTER RESPONSIVE  */

@media (max-width: 900px) {
    .footer-overlay {
        padding: 56px 24px 24px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: none;
    }

    .footer-brand h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
.resume-cta-section {
    padding: 100px 60px;
    background: linear-gradient(to bottom, #eef2e7, #e3ebda);
    text-align: center;
}

.resume-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.resume-cta-text {
    margin: 20px auto 30px auto;
    color: #425242;
    font-size: 1.08rem;
    line-height: 1.8;
}

.resume-button {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(to right, #c6d6a6, #aabf7a);
    color: #1e2b1d;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

.resume-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}
/*  ABOUT PAGE ALTERNATING SECTION COLORS  */

.about-section-light {
    background:
        linear-gradient(to bottom, rgba(244, 241, 232, 0.96), rgba(244, 241, 232, 0.96)),
        url("https://www.transparenttextures.com/patterns/topography.png");
    background-repeat: repeat;
    background-size: auto;
}

.about-section-green {
    background:
        linear-gradient(to bottom, rgba(223, 232, 210, 0.94), rgba(207, 220, 196, 0.94)),
        url("https://www.transparenttextures.com/patterns/topography.png");
    background-repeat: repeat;
    background-size: auto;
    border-top: 1px solid rgba(83, 102, 77, 0.08);
    border-bottom: 1px solid rgba(83, 102, 77, 0.08);
}

.about-section-light,
.about-section-green {
    position: relative;
}

.about-section-light::before,
.about-section-green::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.10),
        rgba(0, 0, 0, 0.02)
    );
    pointer-events: none;
}

.about-section-light > *,
.about-section-green > * {
    position: relative;
    z-index: 1;
}
/*  PUBLICATIONS  */

.publications-list {
    display: grid;
    gap: 24px;
    margin-top: 28px;
    max-width: 1000px;
}

.publication-card {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.93), rgba(247, 244, 236, 0.97));
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(80, 98, 70, 0.12);
}

.publication-title {
    font-size: 1.5rem;
    line-height: 1.2;
    color: #233223;
    margin-bottom: 10px;
}

.publication-title a {
    color: #233223;
    text-decoration: none;
    position: relative;
}

.publication-title a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #5f7556;
    transition: width 0.25s ease;
}

.publication-title a:hover::after {
    width: 100%;
}

.publication-title a:hover {
    color: #425242;
}

.publication-journal {
    font-size: 0.98rem;
    font-weight: 700;
    color: #5f7556;
    margin-bottom: 14px;
}

.publication-description {
    color: #3e4c3d;
    line-height: 1.7;
}
/*  CONTACT PAGE  */

.contact-header {
    background:
        radial-gradient(circle at top left, rgba(118, 140, 108, 0.10), transparent 36%),
        linear-gradient(to bottom, #f4f1e8, #eef2e7);
}

.contact-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/cartographer.png");
    background-repeat: repeat;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.contact-hero {
    position: relative;
    z-index: 1;
}

.contact-label {
    color: #5f7556;
}

.contact-title {
    max-width: 760px;
}

.contact-panel {
    background: rgba(255, 255, 255, 0.42);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.contact-main-card,
.contact-side-card {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(247, 244, 236, 0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.contact-main-card h3,
.contact-side-card h3 {
    font-size: 1.4rem;
    color: #233223;
    margin-bottom: 18px;
    line-height: 1.2;
}

.contact-main-card p,
.contact-side-card p {
    color: #425242;
    line-height: 1.75;
}

.contact-item + .contact-item {
    margin-top: 22px;
}

.contact-item-label,
.contact-link-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.76rem;
    color: #6f8664;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-link {
    color: #334133;
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-link-card {
    display: block;
    text-decoration: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.93), rgba(247, 244, 236, 0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.contact-link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(92, 120, 78, 0.28);
}

.contact-link-card h3 {
    color: #233223;
    font-size: 1.28rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.contact-link-card p {
    color: #425242;
    line-height: 1.7;
}

.contact-closing {
    max-width: 820px;
}

.contact-closing h2 {
    font-size: 2.4rem;
    line-height: 1.08;
    margin-bottom: 16px;
    color: #233223;
    letter-spacing: -0.03em;
}

.contact-closing p {
    color: #425242;
    font-size: 1.08rem;
    line-height: 1.8;
}
.contact-simple {
    padding: 100px 6vw;
    display: flex;
    justify-content: center;
}

.contact-card-centered {
    max-width: 600px;
    width: 100%;

    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(247,244,236,0.98));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 24px;

    padding: 44px 40px;
    text-align: center;

    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.10);
}

.contact-card-centered h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #233223;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #425242;
    margin-bottom: 28px;
}

.contact-item {
    margin-top: 18px;
}

.contact-item-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: #6f8664;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-link {
    color: #233223;
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-cta {
    margin-top: 32px;
}

.contact-button {
    display: inline-block;
    padding: 14px 24px;
    background: #355132;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(53, 81, 50, 0.20);
    transition: transform 0.2s ease, background 0.2s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    background: #42633f;
}
/*  GRANT WRITING PAGE HEADER  */


.grant-header {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(118, 140, 108, 0.10), transparent 36%),
        linear-gradient(to bottom, #f4f1e8, #eef2e7);
}

.grant-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/cartographer.png");
    background-repeat: repeat;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.grant-header .portfolio-logo,
.grant-header .portfolio-nav .nav-links a {
    color: #233223;
}

.grant-header .portfolio-nav .nav-links a::after {
    background-color: #5f7556;
}

.grant-header .portfolio-divider {
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(95, 117, 86, 0.16) 20%,
        rgba(95, 117, 86, 0.22) 50%,
        rgba(95, 117, 86, 0.16) 80%,
        transparent 100%
    );
}

.grant-header .portfolio-hero {
    position: relative;
    z-index: 1;
    padding: 12px 0 20px 0;
    align-items: center;
    min-height: auto;
    gap: 72px;
}

.grant-label {
    color: #5f7556;
    margin-bottom: 6px;
}

.grant-title {
    color: #223122;
    font-size: clamp(3.2rem, 6.3vw, 5.8rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    max-width: 900px;
    text-shadow: none;
}

.grant-panel {
    align-self: auto;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(95, 117, 86, 0.12);
    box-shadow: 0 10px 30px rgba(52, 67, 45, 0.05);
    backdrop-filter: blur(4px);
}

.grant-header .portfolio-intro {
    color: #3f4d3d;
    font-size: 1.12rem;
    line-height: 1.75;
}

.grant-header .portfolio-tag,
.grant-header .portfolio-tag:visited,
.grant-header .portfolio-tag:hover,
.grant-header .portfolio-tag:active {
    background: rgba(255, 255, 255, 0.72);
    color: #334133;
    border: 1px solid rgba(95, 117, 86, 0.14);
}

.grant-header .portfolio-tag:hover {
    background: rgba(255, 255, 255, 0.9);
}

/*  RESPONSIVE  */

@media (max-width: 1100px) {
    .grant-header .portfolio-hero {
        min-height: 420px;
        padding: 34px 0 28px 0;
        gap: 32px;
        align-items: start;
    }

    .grant-panel {
        align-self: start;
    }

    .grant-title {
        font-size: clamp(2.4rem, 7vw, 3.8rem);
    }
}

@media (max-width: 900px) {
    .grant-header {
        background-position: center center;
    }

    .grant-header .portfolio-hero {
        min-height: auto;
        padding: 26px 0 24px 0;
    }

    .grant-title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }
}
/*  GRANT PAGE REDESIGN  */

.grant-impact-band {
    background:
        linear-gradient(to bottom, rgba(223, 232, 210, 0.94), rgba(207, 220, 196, 0.94)),
        url("https://www.transparenttextures.com/patterns/topography.png");
    background-repeat: repeat;
    background-size: auto;
    border-top: 1px solid rgba(83, 102, 77, 0.08);
    border-bottom: 1px solid rgba(83, 102, 77, 0.08);
}

.grant-impact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(220px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.grant-impact-intro h2 {
    font-size: 2.3rem;
    line-height: 1.08;
    margin-bottom: 14px;
    color: #233223;
    letter-spacing: -0.03em;
}

.grant-impact-intro p {
    color: #425242;
    line-height: 1.75;
    max-width: 720px;
}

.grant-stat-card {
    background: linear-gradient(to bottom, rgba(255,255,255,0.93), rgba(247,244,236,0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.grant-stat-number {
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 800;
    color: #233223;
    margin-bottom: 10px;
}

.grant-stat-label {
    color: #425242;
    line-height: 1.6;
    font-size: 1rem;
}

.grant-project-grid.two-projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;

    max-width: 1600px;  
    margin: 40px auto 0 auto;
    padding: 0 40px;    
}

.wide-project {
    padding: 36px;
    border-radius: 24px;
    min-height: 260px; 
}

.wide-project h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.wide-project p {
    font-size: 1.02rem;
    line-height: 1.7;
}
/*  GRANT EDITORIAL SECTION  */

.grant-editorial-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.grant-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 48px;
    align-items: center;
}

.grant-editorial-text h2 {
    font-size: 2.7rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #233223;
    margin-bottom: 22px;
    max-width: 760px;
}

.grant-editorial-lead {
    font-size: 1.16rem;
    line-height: 1.8;
    color: #334133;
    margin-bottom: 20px;
    max-width: 760px;
}

.grant-editorial-text p:not(.section-label):not(.grant-editorial-lead) {
    font-size: 1.04rem;
    line-height: 1.82;
    color: #425242;
    max-width: 740px;
}

.grant-editorial-visual {
    position: relative;
    min-height: 100%;
}

.grant-editorial-image {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 46px rgba(35, 50, 35, 0.14);
    background: #d9dfd0;
}

.grant-editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grant-editorial-note {
    position: absolute;
    left: -28px;
    bottom: 28px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(6px);
}

.grant-note-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.74rem;
    color: #6f8664;
    font-weight: 700;
    margin-bottom: 8px;
}

.grant-editorial-note p:last-child {
    color: #334133;
    line-height: 1.65;
    font-size: 0.98rem;
}

.grant-pillars-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.grant-pillar {
    background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(247,244,236,0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.grant-pillar-title {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: #233223;
    margin-bottom: 6px;
}

.grant-pillar-text {
    display: block;
    font-size: 0.92rem;
    color: #556555;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .grant-editorial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .grant-editorial-text h2 {
        font-size: 2.2rem;
    }

    .grant-editorial-note {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 18px;
        max-width: none;
    }

    .grant-pillars-row {
        grid-template-columns: 1fr;
    }
}
.grant-workflow-section {
    margin-top: 36px;
}

.grant-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background: rgba(95, 117, 86, 0.08);
    border: 1px solid rgba(95, 117, 86, 0.12);
    border-radius: 999px;

    padding: 16px 22px;
    max-width: 220px;
}

.workflow-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #233223;
    margin-bottom: 4px;
}

.workflow-sub {
    font-size: 0.8rem;
    color: #5f705f;
    line-height: 1.4;
}

.workflow-arrow {
    font-size: 1.2rem;
    color: #6f8664;
    opacity: 0.7;
}
.grant-page .portfolio-title {
    font-size: 5rem;   
    line-height: 1.05;
}
.grant-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 48px;

    align-items: start;   
}
.grant-workflow {
    display: flex;
    gap: 16px;
    align-items: center;

    margin-top: 32px;

    justify-content: flex-start; 
    flex-wrap: wrap; 
}
.wildfire-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.wildfire-stat-card {
    background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(247,244,236,0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.wildfire-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #233223;
    line-height: 1;
    margin-bottom: 8px;
}

.wildfire-stat-label {
    color: #425242;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .wildfire-stat-row {
        grid-template-columns: 1fr;
    }
}
/* mobile */
@media (max-width: 700px) {
    .grant-workflow {
        gap: 12px;
    }

    .workflow-step {
        padding: 14px 18px;
        max-width: 180px;
    }

    .workflow-sub {
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .grant-editorial-text h2 {
        font-size: 1.9rem;
    }

    .grant-editorial-image img {
        min-height: 320px;
    }
}

@media (max-width: 900px) {
    .grant-project-grid.two-projects {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 800px) {
    .featured-project {
        grid-template-columns: 1fr;
        padding: 26px;
    }
}

@media (max-width: 900px) {
    .grant-project-grid.two-projects {
        grid-template-columns: 1fr;
    }

    .featured-project {
        padding: 26px;
        border-radius: 20px;
    }
}

.grant-project-card {
    background: linear-gradient(to bottom, rgba(255,255,255,0.93), rgba(247,244,236,0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.grant-project-type {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.76rem;
    color: #6f8664;
    font-weight: 700;
    margin-bottom: 10px;
}

.grant-project-card h3 {
    font-size: 1.32rem;
    line-height: 1.2;
    color: #233223;
    margin-bottom: 14px;
}

.grant-project-card p {
    color: #425242;
    line-height: 1.75;
}

.grant-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    margin-bottom: 22px;
}

.grant-project-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(95, 117, 86, 0.08);
    border: 1px solid rgba(95, 117, 86, 0.12);
    color: #334133;
    font-size: 0.82rem;
    font-weight: 600;
}

.grant-project-link {
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #4e6a45;
    transition: transform 0.2s ease, color 0.2s ease;
}

.grant-project-link:hover {
    transform: translateX(4px);
    color: #2f4f2f;
}

.grant-contribution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.grant-contribution-card {
    background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(247,244,236,0.97));
    border: 1px solid rgba(80, 98, 70, 0.12);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.grant-contribution-card h3 {
    font-size: 1.22rem;
    color: #233223;
    margin-bottom: 12px;
}

.grant-contribution-card p {
    color: #425242;
    line-height: 1.75;
}

/*  GRANT RESPONSIVE  */

@media (max-width: 1100px) {
    .grant-impact-grid,
    .grant-project-grid,
    .grant-contribution-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .grant-stat-card,
    .grant-project-card,
    .grant-contribution-card {
        padding: 22px;
        border-radius: 18px;
    }

    .grant-impact-intro h2 {
        font-size: 1.9rem;
    }

    .grant-stat-number {
        font-size: 2.2rem;
    }
}

/*  CONTACT PAGE RESPONSIVE  */

@media (max-width: 1100px) {
    .contact-layout,
    .contact-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-main-card,
    .contact-side-card,
    .contact-link-card {
        padding: 22px;
        border-radius: 18px;
    }

    .contact-main-card h3,
    .contact-side-card h3,
    .contact-link-card h3 {
        font-size: 1.16rem;
    }

    .contact-closing h2 {
        font-size: 1.8rem;
    }
}

/*  RESPONSIVE  */

@media (max-width: 1100px) {
    .hero-title-top {
        font-size: 2.6rem;
    }

    .hero-title-bottom {
        font-size: 3.5rem;
    }

    .portfolio-hero {
        padding: 42px 0 40px 0;
        grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.72fr);
        gap: 56px;
        align-items: center;
    }

    .portfolio-hero-right {
        justify-self: start;
        padding-left: 0;
        border-left: none;
        border-top: 2px solid rgba(95, 117, 86, 0.14);
        padding-top: 24px;
    }

    .about-header-photo .portfolio-hero {
        min-height: 440px;
        padding: 34px 0 28px 0;
        gap: 32px;
        align-items: start;
    }

    .about-photo-panel {
        align-self: start;
    }

    .about-photo-title {
        font-size: clamp(2.4rem, 7vw, 3.8rem);
        max-width: 820px;
    }

    .wildfire-header-photo .portfolio-hero {
        min-height: 440px;
        padding: 34px 0 28px 0;
        gap: 32px;
        align-items: start;
    }

    .wildfire-photo-panel {
        align-self: start;
    }

    .wildfire-photo-title {
        font-size: clamp(2.4rem, 7vw, 3.8rem);
    }

    .portfolio-section-heading h2,
    .section h2,
    .footer h2 {
        font-size: 2.1rem;
    }

    .portfolio-tile,
    .portfolio-tile.large,
    .portfolio-tile.wide {
        grid-column: span 6;
    }

    .portfolio-tile.full {
        grid-column: span 12;
    }

    .portfolio-tile.full .tile-overlay h3 {
        font-size: 2.3rem;
    }

    .portfolio-tile.large .tile-overlay h3 {
        font-size: 1.9rem;
    }

    .about-two-column,
    .about-experience-layout,
    .about-feature {
        grid-template-columns: 1fr;
    }

    .about-education-strip,
    .about-strengths-grid,
    .about-experience-grid {
        grid-template-columns: 1fr;
    }

    .about-inline-image,
    .about-experience-image,
    .about-feature-image {
        min-height: 260px;
    }
}

@media (max-width: 900px) {
    .hero,
    .section,
    .portfolio-header,
    .portfolio-grid-section,
    .footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav-links {
        gap: 16px;
        justify-content: flex-start;
    }

    .hero-content {
        padding: 70px 0 90px 0;
    }

    .hero-title-top {
        font-size: 2.2rem;
    }

    .hero-title-bottom {
        font-size: 2.9rem;
        line-height: 0.98;
    }

    .portfolio-title {
        font-size: clamp(2.8rem, 11vw, 4.4rem);
        line-height: 0.94;
    }

    .portfolio-grid-section {
        padding-top: 56px;
    }

    .portfolio-tile,
    .portfolio-tile.large,
    .portfolio-tile.wide,
    .portfolio-tile.full {
        grid-column: span 12;
    }

    .portfolio-tile.full {
        min-height: 380px;
    }

    .portfolio-tile.large {
        min-height: 340px;
    }

    .portfolio-tile.full .tile-overlay h3 {
        font-size: 2rem;
    }

    .portfolio-tile.large .tile-overlay h3,
    .tile-overlay h3 {
        font-size: 1.7rem;
        max-width: 90%;
    }

    .portfolio-grid-section-alt {
        border-radius: 0;
        margin-bottom: 0;
    }

    .about-header-photo {
        background-position: center center;
    }

    .about-header-photo .portfolio-hero {
        min-height: auto;
        padding: 26px 0 24px 0;
    }

    .about-photo-title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        line-height: 0.98;
    }

    .wildfire-header-photo {
        background-position: center center;
    }

    .wildfire-header-photo .portfolio-hero {
        min-height: auto;
        padding: 26px 0 24px 0;
    }

    .wildfire-photo-title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .about-main-text p,
    .about-feature-text p {
        font-size: 1rem;
    }

    .about-feature-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        background-attachment: scroll, scroll, scroll;
    }

    .hero-title {
        gap: 6px;
    }

    .hero-title-top {
        font-size: 1.9rem;
    }

    .hero-title-bottom {
        font-size: 2.35rem;
        line-height: 1;
    }

    .hero-content {
        padding: 50px 0 80px 0;
    }

    .hero-text,
    .portfolio-intro,
    .portfolio-section-intro {
        font-size: 1rem;
    }

    .portfolio-tags {
        gap: 10px;
    }

    .portfolio-tag,
    .portfolio-tag:visited,
    .portfolio-tag:hover,
    .portfolio-tag:active {
        padding: 9px 14px;
        font-size: 0.82rem;
    }

    .tile-overlay {
        padding: 20px;
    }

    .portfolio-tile.full .tile-overlay h3 {
        font-size: 1.75rem;
    }

    .portfolio-tile.large .tile-overlay h3,
    .tile-overlay h3 {
        font-size: 1.45rem;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .about-quote-card,
    .about-strength-card,
    .about-experience-card,
    .about-education-card {
        padding: 20px;
        border-radius: 18px;
    }

    .about-strength-card h3,
    .about-experience-card h3,
    .about-education-card h3 {
        font-size: 1.12rem;
    }

    .about-feature-text h2 {
        font-size: 1.75rem;
    }
}