:root {
    --tg-canvas: #f4f3ec;
    --tg-paper: #fbfaf5;
    --tg-forest: #153f35;
    --tg-forest-deep: #0d3028;
    --tg-mineral: #3f6f5d;
    --tg-moss: #91a88f;
    --tg-sage: #dce4d6;
    --tg-sage-light: #e9eee4;
    --tg-straw: #c3a56c;
    --tg-ink: #1b2923;
    --tg-muted: #5d6a63;
    --tg-line: rgba(38, 68, 56, 0.2);
    --tg-font-display: "Newsreader", Georgia, "Times New Roman", serif;
    --tg-font-sans: "Manrope", "Aptos", "Segoe UI", sans-serif;
    --tg-shell-max: clamp(1240px, 82vw, 1600px);
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body.natural-theme {
    --font-family: var(--tg-font-sans);
    min-height: 100vh;
    color: var(--tg-ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%),
        var(--tg-canvas);
    font-family: var(--tg-font-sans);
    overflow-x: clip;
}

body.natural-theme::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        url('../images/topographic-contours.svg') center top / min(1600px, 130vw) auto no-repeat,
        radial-gradient(circle at 82% 9%, rgba(189, 204, 179, 0.22), transparent 31%);
    opacity: 0.72;
}

.natural-theme .portfolio-cinematic-canvas,
.natural-theme .portfolio-hero-depth {
    display: none;
}

.natural-theme .portfolio-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0 0;
    background: rgba(244, 243, 236, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.natural-theme .portfolio-navbar::after {
    width: min(100% - 48px, var(--tg-shell-max));
    margin-top: 14px;
    background: linear-gradient(90deg, transparent, var(--tg-line) 8%, var(--tg-line) 92%, transparent);
}

.natural-theme .portfolio-nav-inner {
    width: min(100% - 48px, var(--tg-shell-max));
    min-height: 50px;
}

.natural-theme .portfolio-brand img {
    height: 40px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(24%) saturate(770%) hue-rotate(111deg) brightness(90%) contrast(91%);
    transform: none;
    transition: opacity 0.2s ease;
}

.natural-theme .portfolio-brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.natural-theme .portfolio-brand:hover img,
.natural-theme .portfolio-brand:focus-visible img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(24%) saturate(770%) hue-rotate(111deg) brightness(90%) contrast(91%);
    opacity: 0.72;
}

.natural-theme .portfolio-nav-links {
    gap: clamp(18px, 2.2vw, 32px);
}

.natural-theme .portfolio-nav-links a {
    color: var(--tg-ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.natural-theme .portfolio-nav-links a:hover,
.natural-theme .portfolio-nav-links a.active {
    color: var(--tg-mineral);
}

.natural-theme .portfolio-contact-button,
.natural-theme .portfolio-button {
    min-height: 46px;
    border: 1px solid var(--tg-forest);
    border-radius: 3px;
    padding: 0 22px;
    font-family: var(--tg-font-sans);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: none;
}

.natural-theme .portfolio-contact-button,
.natural-theme .portfolio-button-primary {
    color: var(--tg-paper);
    background: var(--tg-forest);
    box-shadow: none;
}

.natural-theme .portfolio-nav-links .portfolio-contact-button,
.natural-theme .portfolio-nav-links .portfolio-contact-button:visited {
    color: var(--tg-paper);
}

.natural-theme .portfolio-contact-button:hover,
.natural-theme .portfolio-button-primary:hover {
    color: #fff;
    background: var(--tg-forest-deep);
    box-shadow: none;
    transform: translateY(-1px);
}

.natural-theme .portfolio-button-secondary {
    color: var(--tg-forest);
    background: rgba(251, 250, 245, 0.72);
    box-shadow: none;
}

.natural-theme .portfolio-button-secondary:hover {
    color: var(--tg-paper);
    background: var(--tg-forest);
}

.natural-theme .portfolio-menu-toggle {
    border-color: var(--tg-line);
    border-radius: 3px;
    color: var(--tg-forest);
    background: rgba(251, 250, 245, 0.78);
}

.natural-theme .portfolio-page-shell {
    width: min(100% - 48px, var(--tg-shell-max));
    min-height: calc(100vh - 148px);
}

.natural-theme .portfolio-hero {
    position: relative;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto auto;
    align-items: stretch;
    margin: 0;
    padding: 30px 0 0;
    text-align: left;
    isolation: isolate;
}

.natural-theme .portfolio-hero::before {
    content: '';
    position: absolute;
    top: 8%;
    left: -12vw;
    width: min(760px, 68vw);
    height: 72%;
    z-index: -1;
    background: url('../images/topographic-contours.svg') center / cover no-repeat;
    opacity: 0.45;
    mask-image: linear-gradient(90deg, #000 50%, transparent 100%);
}

.natural-theme .portfolio-hero-copy {
    position: relative;
    z-index: 2;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 18px 66px 0;
    animation: naturalHeroCopy 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.natural-theme .portfolio-hero .portfolio-hero-kicker,
.natural-theme .portfolio-kicker {
    margin: 0 0 16px;
    color: var(--tg-mineral);
    font-family: var(--tg-font-sans);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.natural-theme .portfolio-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-size: clamp(3.9rem, 5.7vw, 5.55rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.94;
    text-wrap: balance;
}

.natural-theme .portfolio-hero .portfolio-hero-lede {
    max-width: 590px;
    margin: 26px 0 0;
    color: #34473e;
    font-family: var(--tg-font-sans);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    font-weight: 500;
    line-height: 1.68;
}

.natural-theme .portfolio-hero-actions {
    justify-content: flex-start;
    margin-top: 32px;
}

.natural-theme .portfolio-hero-media {
    position: relative;
    z-index: 1;
    min-width: 0;
    height: 560px;
    margin: 0 -36px 0 -52px;
    overflow: hidden;
    background: var(--tg-sage);
    border-radius: 0 0 0 76px;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 8%, #000 20%, #000 100%);
    animation: naturalHeroImage 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.natural-theme .portfolio-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(244, 243, 236, 0.06), transparent 42%),
        linear-gradient(90deg, rgba(244, 243, 236, 0.28), transparent 20%);
}

.natural-theme .portfolio-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 56% 50%;
    animation: naturalMarshDrift 24s ease-in-out infinite alternate;
}

.natural-theme .portfolio-hero-media figcaption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(13, 48, 40, 0.7);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.natural-theme .portfolio-hero-proof {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    border-top: 1px solid var(--tg-line);
    border-bottom: 1px solid var(--tg-line);
}

.natural-theme .portfolio-hero-proof div {
    min-height: 96px;
    justify-content: flex-start;
    padding: 25px clamp(18px, 3vw, 40px);
}

.natural-theme .portfolio-hero-proof div:first-child {
    padding-left: 0;
}

.natural-theme .portfolio-hero-proof div + div {
    border-left-color: var(--tg-line);
}

.natural-theme .portfolio-hero-proof strong {
    color: var(--tg-mineral);
    font-family: var(--tg-font-display);
    font-size: 2.1rem;
    font-weight: 500;
}

.natural-theme .portfolio-hero-proof span {
    color: var(--tg-muted);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
}

.natural-theme .portfolio-section {
    padding: 0;
}

.natural-theme .portfolio-companies-section {
    padding-top: clamp(80px, 9vw, 124px);
}

.natural-theme .portfolio-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.7fr);
    column-gap: clamp(40px, 8vw, 120px);
    align-items: end;
    margin-bottom: 42px;
    text-align: left;
}

.natural-theme .portfolio-section-heading > .portfolio-kicker {
    grid-column: 1 / -1;
    margin-bottom: 12px;
}

.natural-theme .portfolio-section h2,
.natural-theme .portfolio-section-heading h2 {
    grid-column: 1;
    margin: 0;
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-size: clamp(2.8rem, 4.4vw, 4.25rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.98;
    text-align: left;
    text-wrap: balance;
}

.natural-theme .portfolio-heading-lines {
    display: none;
}

.natural-theme .portfolio-heading-subtitle {
    grid-column: 2;
    justify-content: flex-start;
    padding-bottom: 5px;
}

.natural-theme .portfolio-heading-subtitle p {
    max-width: 540px;
    margin: 0;
    color: var(--tg-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.natural-theme .portfolio-company-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--tg-line);
    border-bottom: 1px solid var(--tg-line);
}

.natural-theme .portfolio-company-card,
.natural-theme .portfolio-card {
    min-height: 328px;
    padding: 32px 26px 28px;
    color: var(--tg-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.natural-theme .portfolio-company-card + .portfolio-company-card {
    border-left: 1px solid var(--tg-line);
}

.natural-theme .portfolio-card::before {
    display: none;
}

.natural-theme .portfolio-card:hover,
.natural-theme .portfolio-card:focus-visible {
    color: var(--tg-forest-deep);
    background: rgba(220, 228, 214, 0.72);
    border-color: transparent;
    box-shadow: none;
    transform: none;
    outline: none;
}

.natural-theme .portfolio-company-card .portfolio-card-heading-wordmark {
    min-height: 72px;
}

.natural-theme .portfolio-company-card .portfolio-card-heading-wordmark img {
    width: min(100%, 190px);
    max-height: 64px;
    filter: saturate(0.7) contrast(0.96);
}

.natural-theme .portfolio-company-card .portfolio-card-heading-hhid img,
.natural-theme .portfolio-company-card .portfolio-card-heading-veritus img {
    width: min(100%, 222px);
}

.natural-theme .portfolio-card-rule {
    width: 42px;
    height: 2px;
    margin: 18px 0 17px;
    background: var(--tg-straw);
}

.natural-theme .portfolio-card .portfolio-company-endorsement {
    margin-bottom: 12px;
    color: var(--tg-mineral);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
}

.natural-theme .portfolio-company-card .portfolio-card-label {
    margin-bottom: 10px;
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.08;
}

.natural-theme .portfolio-company-card p:not(.portfolio-card-label):not(.portfolio-company-endorsement) {
    color: var(--tg-muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.natural-theme .portfolio-company-card > span {
    color: var(--tg-mineral);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.natural-theme .portfolio-mobile-swipe-hint,
.natural-theme .portfolio-capabilities-toggle,
.natural-theme .portfolio-mobile-conversion {
    display: none;
}

.natural-theme .portfolio-capabilities {
    position: relative;
    overflow: hidden;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(52px, 7vw, 92px);
    margin: clamp(84px, 9vw, 124px) 0;
    padding: clamp(42px, 6vw, 76px);
    color: var(--tg-paper);
    background:
        url('../images/topographic-contours.svg') center / cover no-repeat,
        var(--tg-forest-deep);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 28px 68px rgba(18, 51, 41, 0.16);
}

.natural-theme .portfolio-capabilities::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 42%);
    mask-image: none;
}

.natural-theme .portfolio-capabilities .portfolio-kicker {
    color: #b8c9b2;
}

.natural-theme .portfolio-capabilities-intro h2 {
    max-width: 500px;
    margin-bottom: 22px;
    color: var(--tg-paper);
    font-family: var(--tg-font-display);
    font-size: clamp(3rem, 4.5vw, 4.55rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.natural-theme .portfolio-capabilities-intro > p:not(.portfolio-kicker) {
    color: rgba(248, 248, 240, 0.7);
    font-size: 0.94rem;
    line-height: 1.72;
}

.natural-theme .portfolio-text-link {
    color: var(--tg-paper);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.natural-theme .portfolio-text-link span,
.natural-theme .portfolio-capability-number {
    color: #bdd0b8;
}

.natural-theme .portfolio-capability-list li {
    grid-template-columns: 48px 1fr;
    padding: 24px 0;
    border-top-color: rgba(229, 237, 225, 0.18);
}

.natural-theme .portfolio-capability-list li:last-child {
    border-bottom-color: rgba(229, 237, 225, 0.18);
}

.natural-theme .portfolio-capability-list h3 {
    color: var(--tg-paper);
    font-family: var(--tg-font-display);
    font-size: 1.35rem;
    font-weight: 500;
}

.natural-theme .portfolio-capability-list p {
    color: rgba(248, 248, 240, 0.66);
    font-size: 0.82rem;
    line-height: 1.58;
}

.natural-theme .portfolio-capabilities-list-wrap {
    min-width: 0;
}

.natural-theme .portfolio-solutions {
    padding: 0 0 18px;
}

.natural-theme .portfolio-solutions-heading {
    margin-bottom: 38px;
}

.natural-theme .portfolio-solution-grid {
    gap: 0 44px;
    border-top: 1px solid var(--tg-line);
}

.natural-theme .portfolio-solution-card {
    min-height: 184px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 30px 0;
    color: var(--tg-ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--tg-line);
    border-radius: 0;
    box-shadow: none;
    transition: padding 0.25s ease, background 0.25s ease;
}

.natural-theme .portfolio-solution-card:hover,
.natural-theme .portfolio-solution-card:focus-visible {
    padding-right: 16px;
    padding-left: 16px;
    background: rgba(220, 228, 214, 0.48);
    border-color: var(--tg-line);
    box-shadow: none;
    transform: none;
}

.natural-theme .portfolio-solution-index {
    color: var(--tg-mineral);
}

.natural-theme .portfolio-solution-card h3 {
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-size: clamp(1.35rem, 1.85vw, 1.72rem);
    font-weight: 500;
    line-height: 1.15;
}

.natural-theme .portfolio-solution-card p {
    color: var(--tg-muted);
    font-size: 0.82rem;
}

.natural-theme .portfolio-solution-card strong {
    color: var(--tg-mineral);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

.natural-theme .portfolio-giving-band {
    position: relative;
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    margin: clamp(82px, 9vw, 120px) 0 70px;
    padding: clamp(36px, 5vw, 64px);
    background:
        linear-gradient(100deg, rgba(220, 228, 214, 0.96), rgba(232, 237, 225, 0.92)),
        url('../images/topographic-contours.svg') center / cover no-repeat;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

.natural-theme .portfolio-giving-copy h2 {
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-size: clamp(2.6rem, 4.3vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.natural-theme .portfolio-giving-copy p:not(.portfolio-kicker) {
    color: #42544a;
    font-size: 0.9rem;
    line-height: 1.7;
}

.natural-theme .portfolio-giving-actions a:not(.portfolio-button) {
    min-height: 54px;
    color: var(--tg-forest-deep);
    background: rgba(251, 250, 245, 0.72);
    border-color: var(--tg-line);
    border-radius: 3px;
    font-size: 0.76rem;
}

.natural-theme .portfolio-giving-actions a:not(.portfolio-button)::after {
    color: var(--tg-mineral);
}

.natural-theme .portfolio-giving-actions a:not(.portfolio-button):hover,
.natural-theme .portfolio-giving-actions a:not(.portfolio-button):focus-visible {
    color: var(--tg-forest);
    border-color: var(--tg-mineral);
}

.natural-theme .portfolio-footer {
    padding-bottom: 30px;
}

.natural-theme .portfolio-footer-inner {
    border-top-color: var(--tg-line);
    color: var(--tg-muted);
    font-size: 0.72rem;
}

.natural-theme .portfolio-footer-inner a {
    color: var(--tg-muted);
    font-size: 0.7rem;
}

.natural-theme .portfolio-footer-inner a:hover {
    color: var(--tg-forest);
}

.natural-theme .portfolio-contact-modal-backdrop {
    background: rgba(9, 31, 26, 0.62);
}

.natural-theme .portfolio-contact-dialog {
    color: var(--tg-ink);
    background:
        linear-gradient(100deg, rgba(251, 250, 245, 0.97), rgba(244, 243, 236, 0.97)),
        url('../images/topographic-contours.svg') center / cover no-repeat;
    border: 1px solid rgba(38, 68, 56, 0.34);
    border-radius: 6px;
    box-shadow: 0 30px 90px rgba(9, 31, 26, 0.3);
}

.natural-theme .portfolio-contact-sheet-intro {
    position: relative;
}

.natural-theme .portfolio-contact-dialog h2 {
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-size: clamp(2.2rem, 3.5vw, 3.35rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.natural-theme .portfolio-contact-intro {
    color: var(--tg-muted);
}

.natural-theme .portfolio-contact-close {
    width: 44px;
    height: 44px;
    color: var(--tg-forest);
    background: var(--tg-paper);
    border-color: var(--tg-line);
}

.natural-theme .portfolio-contact-optional {
    padding-top: 2px;
    border-top: 1px solid var(--tg-line);
}

.natural-theme .portfolio-contact-optional summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--tg-mineral);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.natural-theme .portfolio-contact-optional summary::-webkit-details-marker {
    display: none;
}

.natural-theme .portfolio-contact-optional[open] summary span {
    display: inline-block;
    transform: rotate(45deg);
}

.natural-theme .portfolio-contact-optional .form-group {
    padding: 4px 0 8px;
}

.natural-theme .portfolio-optional-label {
    color: var(--tg-muted);
    font-size: 0.68rem;
    font-weight: 500;
}

.natural-theme .portfolio-contact-submit-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 14px;
    align-items: center;
}

.natural-theme .portfolio-contact-submit-bar > p {
    max-width: 250px;
    margin: 0;
    color: var(--tg-muted);
    font-size: 0.7rem;
    line-height: 1.45;
}

.natural-theme .portfolio-contact-submit-bar .form-message {
    grid-column: 1 / -1;
}

.natural-theme .portfolio-contact-close:hover {
    color: var(--tg-paper);
    background: var(--tg-forest);
}

.natural-theme .portfolio-contact-form input,
.natural-theme .portfolio-contact-form select,
.natural-theme .portfolio-contact-form textarea,
.natural-theme .application-form input,
.natural-theme .application-form select,
.natural-theme .application-form textarea {
    color: var(--tg-ink);
    background: rgba(251, 250, 245, 0.9);
    border-color: var(--tg-line);
    border-radius: 3px;
    font-family: var(--tg-font-sans);
}

.natural-theme .portfolio-contact-form input:focus,
.natural-theme .portfolio-contact-form select:focus,
.natural-theme .portfolio-contact-form textarea:focus,
.natural-theme .application-form input:focus,
.natural-theme .application-form textarea:focus {
    border-color: var(--tg-mineral);
    box-shadow: 0 0 0 3px rgba(63, 111, 93, 0.12);
}

/* Shared public pages */
.natural-theme .careers-theme-hero,
.natural-theme .legal-theme-hero {
    position: relative;
    max-width: 940px;
    padding-top: clamp(72px, 9vw, 120px);
}

.natural-theme .careers-theme-hero h1,
.natural-theme .legal-theme-hero h1,
.natural-theme .giving-hero h1,
.natural-theme .careers-theme-empty h1 {
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.natural-theme .careers-theme-hero p:not(.portfolio-kicker),
.natural-theme .legal-theme-hero p:not(.portfolio-kicker),
.natural-theme .giving-hero p:not(.portfolio-kicker) {
    color: var(--tg-muted);
    line-height: 1.7;
}

.natural-theme .careers-theme-section h2,
.natural-theme .giving-support-section h2,
.natural-theme .careers-theme-detail-card h2,
.natural-theme .careers-theme-apply-card h2,
.natural-theme .legal-theme-card h2 {
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-weight: 500;
}

.natural-theme .careers-theme-card,
.natural-theme .careers-theme-detail-card,
.natural-theme .careers-theme-apply-card,
.natural-theme .careers-theme-empty,
.natural-theme .legal-theme-card,
.natural-theme .giving-support-card,
.natural-theme .giving-hero-media {
    color: var(--tg-ink);
    background: rgba(251, 250, 245, 0.78);
    border: 1px solid var(--tg-line);
    border-radius: 6px;
    box-shadow: 0 18px 44px rgba(25, 55, 45, 0.08);
}

.natural-theme .careers-theme-card h3,
.natural-theme .giving-support-card h3 {
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-size: 1.6rem;
    font-weight: 500;
}

.natural-theme .careers-theme-empty .portfolio-button {
    width: fit-content;
    margin: 20px auto 0;
}

.natural-theme .legal-document {
    background: rgba(251, 250, 245, 0.78);
    border-color: var(--tg-line);
    border-width: 1px;
    border-radius: 6px;
    box-shadow: 0 18px 44px rgba(25, 55, 45, 0.08);
}

.natural-theme .legal-document h2 {
    color: var(--tg-forest-deep);
    font-family: var(--tg-font-display);
    font-weight: 500;
}

.natural-theme .legal-document p,
.natural-theme .legal-document li {
    color: var(--tg-muted);
}

.natural-theme .legal-document a {
    color: var(--tg-mineral);
}

.natural-theme .job-meta span,
.natural-theme .status-pill {
    color: var(--tg-forest);
    background: var(--tg-sage-light);
    border: 1px solid rgba(63, 111, 93, 0.18);
}

.natural-theme .job-location,
.natural-theme .job-summary,
.natural-theme .text-muted {
    color: var(--tg-muted);
}

.natural-theme .giving-hero-media {
    position: relative;
    margin: 0;
    background: var(--tg-sage-light);
}

.natural-theme .giving-hero-media img {
    min-height: 360px;
    object-position: 58% 54%;
    filter: saturate(0.78) contrast(0.96);
}

.natural-theme .giving-hero-media figcaption {
    position: absolute;
    right: 18px;
    bottom: 16px;
    padding: 7px 10px;
    color: var(--tg-paper);
    background: rgba(13, 48, 40, 0.82);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.natural-theme .careers-theme-back,
.natural-theme .giving-support-link {
    color: var(--tg-mineral);
}

.natural-theme .giving-support-card:hover,
.natural-theme .giving-support-card:focus-visible {
    border-color: var(--tg-mineral);
    box-shadow: 0 20px 46px rgba(25, 55, 45, 0.12);
}

.natural-theme .giving-belief-box {
    border-color: var(--tg-line);
}

.natural-theme .giving-belief-box p {
    color: var(--tg-forest);
    font-family: var(--tg-font-display);
    font-weight: 500;
}

.natural-theme .application-form input[type="file"] {
    color: var(--tg-ink);
    background: var(--tg-paper);
    border-color: var(--tg-line);
    border-radius: 3px;
    font-family: var(--tg-font-sans);
}

.natural-theme .application-form input[type="file"]::file-selector-button {
    color: var(--tg-forest);
    background: var(--tg-sage-light);
    border-color: var(--tg-line);
    border-radius: 2px;
}

.natural-theme .application-form input[type="file"]::file-selector-button:hover {
    color: var(--tg-paper);
    background: var(--tg-forest);
}

.natural-theme .natural-reveal {
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.natural-theme .natural-reveal.is-visible {
    transform: translateY(0);
}

@keyframes naturalHeroCopy {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes naturalHeroImage {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes naturalMarshDrift {
    from {
        transform: scale(1.015) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.045) translate3d(-0.55%, -0.3%, 0);
    }
}

@media (max-width: 1060px) {
    .natural-theme .portfolio-nav-links {
        gap: 16px;
    }

    .natural-theme .portfolio-hero h1 {
        font-size: clamp(3.5rem, 5.5vw, 4.55rem);
    }

    .natural-theme .portfolio-hero-media {
        margin-right: -24px;
        margin-left: -26px;
    }

    .natural-theme .portfolio-company-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .natural-theme .portfolio-company-card:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--tg-line);
    }

    .natural-theme .portfolio-company-card:nth-child(4) {
        border-top: 1px solid var(--tg-line);
    }
}

@media (max-width: 860px) {
    .natural-theme .portfolio-menu-toggle {
        display: inline-flex;
    }

    .natural-theme .portfolio-nav-inner {
        position: relative;
        flex-wrap: wrap;
        gap: 12px;
    }

    .natural-theme .portfolio-nav-links {
        display: none;
        width: 100%;
        order: 3;
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px;
        background: rgba(251, 250, 245, 0.97);
        border: 1px solid var(--tg-line);
        border-radius: 4px;
        box-shadow: 0 18px 44px rgba(25, 55, 45, 0.14);
    }

    .natural-theme .portfolio-nav-links.is-open {
        display: grid;
    }

    .natural-theme .portfolio-nav-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 0 12px;
        border-radius: 2px;
    }

    .natural-theme .portfolio-nav-links a:hover,
    .natural-theme .portfolio-nav-links a.active {
        background: var(--tg-sage-light);
    }

    .natural-theme .portfolio-contact-button {
        width: 100%;
    }

    .natural-theme .portfolio-nav-links .portfolio-contact-button:hover,
    .natural-theme .portfolio-nav-links .portfolio-contact-button:focus-visible {
        color: var(--tg-paper);
        background: var(--tg-forest-deep);
    }

    .natural-theme .portfolio-hero {
        grid-template-columns: 1fr;
        padding-top: 14px;
    }

    .natural-theme .portfolio-hero-copy {
        min-height: 0;
        padding: 64px 0 52px;
    }

    .natural-theme .portfolio-hero h1 {
        max-width: 740px;
        font-size: clamp(3.6rem, 10vw, 5rem);
    }

    .natural-theme .portfolio-hero-media {
        height: clamp(340px, 64vw, 520px);
        margin: 0 -24px;
        border-radius: 0;
        mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 100%);
    }

    .natural-theme .portfolio-hero-media figcaption {
        right: 18px;
        bottom: 16px;
    }

    .natural-theme .portfolio-section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .natural-theme .portfolio-heading-subtitle {
        grid-column: 1;
    }

    .natural-theme .portfolio-capabilities {
        grid-template-columns: 1fr;
    }

    .natural-theme .portfolio-capabilities-intro {
        position: static;
    }
}

@media (max-width: 620px) {
    .natural-theme .portfolio-navbar {
        padding-top: 12px;
    }

    .natural-theme .portfolio-navbar::after,
    .natural-theme .portfolio-nav-inner,
    .natural-theme .portfolio-page-shell,
    .natural-theme .portfolio-footer {
        width: min(100% - 30px, 1240px);
    }

    .natural-theme .portfolio-brand img {
        height: 34px;
    }

    .natural-theme .portfolio-hero-copy {
        padding: 34px 0 30px;
    }

    .natural-theme .portfolio-hero .portfolio-hero-kicker {
        margin-bottom: 12px;
        font-size: 0.68rem;
        letter-spacing: 0.13em;
    }

    .natural-theme .portfolio-hero h1 {
        font-size: clamp(2.8rem, 12.2vw, 3.5rem);
        line-height: 0.94;
    }

    .natural-theme .portfolio-hero .portfolio-hero-lede {
        margin-top: 18px;
        font-size: 0.91rem;
        line-height: 1.58;
    }

    .natural-theme .portfolio-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .natural-theme .portfolio-hero-actions .portfolio-button {
        width: 100%;
    }

    .natural-theme .portfolio-hero-media {
        height: 240px;
        margin: 0 -15px;
    }

    .natural-theme .portfolio-hero-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .natural-theme .portfolio-hero-proof div {
        min-height: 88px;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        padding: 14px 6px;
    }

    .natural-theme .portfolio-hero-proof div + div {
        border-top: 0;
        border-left: 1px solid var(--tg-line);
    }

    .natural-theme .portfolio-hero-proof span {
        font-size: 0.55rem;
        line-height: 1.3;
        text-align: center;
    }

    .natural-theme .portfolio-hero-proof strong {
        font-size: 1.7rem;
    }

    .natural-theme .portfolio-companies-section {
        padding-top: 62px;
    }

    .natural-theme .portfolio-section h2,
    .natural-theme .portfolio-section-heading h2 {
        font-size: 2.72rem;
    }

    .natural-theme .portfolio-mobile-swipe-hint {
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: -22px 0 10px;
        color: var(--tg-mineral);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.03em;
    }

    .natural-theme .portfolio-company-grid {
        grid-template-columns: none;
        grid-auto-columns: minmax(252px, 86%);
        grid-auto-flow: column;
        gap: 12px;
        margin-right: -15px;
        padding: 0 15px 12px 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 0 15px;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
        border-bottom: 0;
    }

    .natural-theme .portfolio-company-grid::-webkit-scrollbar {
        display: none;
    }

    .natural-theme .portfolio-company-card,
    .natural-theme .portfolio-card {
        min-height: 310px;
        padding: 26px 22px;
        scroll-snap-align: start;
        background: rgba(251, 250, 245, 0.58);
        border: 1px solid var(--tg-line);
        border-radius: 4px;
    }

    .natural-theme .portfolio-company-card + .portfolio-company-card,
    .natural-theme .portfolio-company-card:nth-child(3),
    .natural-theme .portfolio-company-card:nth-child(4) {
        border: 1px solid var(--tg-line);
    }

    .natural-theme .portfolio-capabilities {
        gap: 24px;
        margin: 62px -4px;
        padding: 30px 22px;
        border-radius: 4px;
    }

    .natural-theme .portfolio-capabilities-intro h2 {
        margin-bottom: 18px;
        font-size: 2.78rem;
    }

    .natural-theme .portfolio-capability-list li {
        grid-template-columns: 36px 1fr;
        gap: 10px;
        padding: 18px 0;
    }

    .natural-theme .portfolio-capability-list li:nth-child(n + 4) {
        display: none;
    }

    .natural-theme .portfolio-capabilities-list-wrap.is-expanded .portfolio-capability-list li:nth-child(n + 4) {
        display: grid;
    }

    .natural-theme .portfolio-capabilities-toggle {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 8px;
        padding: 0;
        color: #d7e2d3;
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(229, 237, 225, 0.18);
        font: 800 0.74rem/1 var(--tg-font-sans);
        letter-spacing: 0.04em;
        cursor: pointer;
    }

    .natural-theme .portfolio-solution-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .natural-theme .portfolio-solution-card {
        grid-template-columns: 30px minmax(0, 1fr);
        min-height: 0;
        gap: 10px;
        padding: 20px 0;
    }

    .natural-theme .portfolio-solution-card strong {
        grid-column: 2;
    }

    .natural-theme .portfolio-giving-band {
        grid-template-columns: 1fr;
        margin: 62px 0 40px;
        padding: 28px 22px;
    }

    .natural-theme .portfolio-giving-copy h2 {
        font-size: 2.72rem;
    }

    .natural-theme .portfolio-footer-inner a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .natural-theme .portfolio-contact-modal {
        align-items: stretch;
        padding: 0;
    }

    .natural-theme .portfolio-contact-dialog {
        width: 100%;
        height: 100dvh;
        max-height: none;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 16px;
        padding: calc(18px + env(safe-area-inset-top)) 16px 0;
        border: 0;
        border-radius: 0;
        overscroll-behavior: contain;
    }

    .natural-theme .portfolio-contact-sheet-intro {
        padding-right: 52px;
    }

    .natural-theme .portfolio-contact-dialog h2 {
        max-width: 300px;
        font-size: clamp(2.05rem, 10vw, 2.65rem);
        line-height: 0.98;
    }

    .natural-theme .portfolio-contact-intro {
        margin-top: 10px;
        font-size: 0.84rem;
        line-height: 1.48;
    }

    .natural-theme .portfolio-contact-close {
        top: 0;
        right: 0;
    }

    .natural-theme .portfolio-contact-form {
        gap: 12px;
        padding-bottom: 0;
    }

    .natural-theme .portfolio-contact-form input,
    .natural-theme .portfolio-contact-form textarea {
        min-height: 48px;
        font-size: 16px;
    }

    .natural-theme .portfolio-contact-form textarea {
        min-height: 104px;
    }

    .natural-theme .portfolio-contact-submit-bar {
        position: sticky;
        bottom: 0;
        z-index: 2;
        display: grid;
        grid-template-columns: minmax(150px, 0.58fr) minmax(0, 0.42fr);
        gap: 10px 14px;
        align-items: center;
        margin: 2px -16px 0;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
        background: rgba(244, 243, 236, 0.97);
        border-top: 1px solid var(--tg-line);
        box-shadow: 0 -12px 30px rgba(9, 31, 26, 0.08);
        backdrop-filter: blur(12px);
    }

    .natural-theme .portfolio-contact-submit-bar .portfolio-button {
        width: 100%;
        min-width: 0;
    }

    .natural-theme .portfolio-mobile-conversion {
        position: fixed;
        right: 15px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 15px;
        z-index: 90;
        display: block;
        pointer-events: none;
        opacity: 0;
        transform: translateY(calc(100% + 30px));
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .natural-theme .portfolio-mobile-conversion.is-visible {
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0);
    }

    .natural-theme .portfolio-mobile-conversion .portfolio-button {
        width: 100%;
        min-height: 52px;
        box-shadow: 0 12px 34px rgba(9, 31, 26, 0.24);
    }

    .natural-theme.modal-open .portfolio-mobile-conversion {
        pointer-events: none;
        opacity: 0;
        transform: translateY(calc(100% + 30px));
    }

    .natural-theme .careers-theme-empty {
        padding: 24px 18px;
    }

    .natural-theme .careers-theme-empty .portfolio-button {
        width: 100%;
    }

    .natural-theme .legal-document {
        padding: 24px 18px;
    }

    .natural-theme .portfolio-form-grid,
    .natural-theme .careers-theme-detail-layout,
    .natural-theme .giving-hero,
    .natural-theme .giving-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 340px) {
    .natural-theme .portfolio-contact-submit-bar {
        grid-template-columns: 1fr;
    }

    .natural-theme .portfolio-contact-submit-bar > p {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .natural-theme .portfolio-hero-copy,
    .natural-theme .portfolio-hero-media,
    .natural-theme .portfolio-hero-media img,
    .natural-theme .natural-reveal,
    .natural-theme .natural-reveal.is-visible {
        animation: none;
        transition: none;
        transform: none;
    }
}
