/* ==========================================================================
   Home page — new design sections (scoped under .home-redesign so nothing
   else on the site is affected). Modern, clean, on-brand (green) styling.
   ========================================================================== */
.home-redesign {
    --hr-green: #2f5e3a;
    --hr-green-2: #86A34D;
    --hr-ink: #1c3d23;
    --hr-text: #4a5b4e;
    color: var(--hr-text);
}

.home-redesign .container { max-width: 1200px; }

.home-redesign .hr-section { padding: 90px 0; }
.home-redesign .hr-bg-soft { background: linear-gradient(180deg, #f4f8f2 0%, #eef4ec 100%); }

.home-redesign .hr-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--hr-green-2);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-redesign .hr-head { max-width: 820px; margin: 0 auto 50px; text-align: center; }
.home-redesign .hr-head h2 { color: var(--hr-ink); font-size: 38px; line-height: 1.2; margin-bottom: 16px; }
.home-redesign .hr-head p { font-size: 17px; line-height: 1.75; }

.home-redesign .hr-center { text-align: center; margin-top: 44px; }

/* Buttons */
.home-redesign .hr-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 34px; border-radius: 50px; font-weight: 700; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.home-redesign .hr-btn-primary { background: var(--hr-green); color: #fff; border: 2px solid var(--hr-green); }
.home-redesign .hr-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(28,61,35,.26); color: #fff; }
.home-redesign .hr-btn-outline { background: transparent; color: var(--hr-green); border: 2px solid var(--hr-green); }
.home-redesign .hr-btn-outline:hover { background: var(--hr-green); color: #fff; transform: translateY(-3px); }

.home-redesign .hr-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--hr-green); font-weight: 700; text-decoration: none;
}
.home-redesign .hr-link i { transition: transform .2s ease; }
.home-redesign .hr-link:hover i { transform: translateX(4px); }

/* Grids */
.home-redesign .hr-grid { display: grid; gap: 28px; }
.home-redesign .hr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.home-redesign .hr-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ----- Mission ----- */
.home-redesign .hr-mission { padding: 96px 0; text-align: center; background: radial-gradient(120% 120% at 50% 0%, #f4f8f2 0%, #ffffff 60%); }
.home-redesign .hr-mission-title { color: var(--hr-ink); font-size: 40px; line-height: 1.25; max-width: 960px; margin: 0 auto 22px; }
.home-redesign .hr-mission-sub { font-size: 18px; max-width: 760px; margin: 0 auto 26px; }
.home-redesign .hr-mission-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.home-redesign .hr-mission-pills span {
    padding: 10px 24px; border-radius: 50px; background: rgba(134,163,77,.14);
    color: var(--hr-green); font-weight: 700;
}

/* ----- Cards (programs / projects) ----- */
.home-redesign .hr-card {
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.06); border: 1px solid #eef0ee;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%;
}
.home-redesign .hr-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,.12); }
.home-redesign .hr-card-media { height: 200px; overflow: hidden; }
.home-redesign .hr-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-redesign .hr-card:hover .hr-card-media img { transform: scale(1.06); }
.home-redesign .hr-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.home-redesign .hr-card-body h3 { color: var(--hr-ink); font-size: 20px; margin-bottom: 10px; }
.home-redesign .hr-card-body p { margin-bottom: 16px; line-height: 1.7; flex: 1; }
.home-redesign .hr-tag {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
    color: var(--hr-green-2); font-weight: 600; font-size: 13px;
}

/* ----- Principles ----- */
.home-redesign .hr-principle-card { padding: 30px 28px; text-align: left; }
.home-redesign .hr-principle-card h3 { color: var(--hr-ink); font-size: 19px; margin: 16px 0 10px; }
.home-redesign .hr-principle-card p { line-height: 1.7; }
/* Research citation links at the foot of a principle card */
.home-redesign .hr-card-cites {
    list-style: none;
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #eef1ec;
    display: grid;
    gap: 9px;
}
.home-redesign .hr-card-cites a {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: #f4910f;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}
.home-redesign .hr-card-cites a i { font-size: 12px; margin-top: 3px; flex: 0 0 auto; }
.home-redesign .hr-card-cites a:hover { text-decoration: underline; }
.home-redesign .hr-icon {
    width: 58px; height: 58px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--hr-green); color: #fff; font-size: 22px;
}
/* Image icons (e.g. Our Impact illustrations) render standalone — no green box */
.home-redesign .hr-icon.hr-icon-img {
    width: 76px; height: 76px; border-radius: 0; background: transparent;
}
.home-redesign .hr-icon.hr-icon-img img { width: 100%; height: 100%; object-fit: contain; }

/* ----- Quote ----- */
.home-redesign .hr-quote {
    padding: 80px 0;
    text-align: center;
    color: #fff;
    /* dark-green fallback so it never looks light if the image is unavailable */
    background-color: var(--hr-green);
    /* green overlay on top of the full-bleed background image so text stays readable.
       Path is relative to THIS stylesheet (/assets/css/) → /assets/img/Planting.jpg */
    background-image: linear-gradient(rgba(20, 54, 31, .80), rgba(10, 28, 16, .9)), url('../img/Planting.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.home-redesign .hr-quote-mark { font-size: 40px; opacity: .35; margin-bottom: 18px; }
.home-redesign .hr-quote blockquote { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; line-height: 1.4; max-width: 900px; margin: 0 auto 18px; color: #fff; }
.home-redesign .hr-quote cite { font-style: normal; font-weight: 600; opacity: .9; }

/* ----- Stats ----- */
.home-redesign .hr-stat { text-align: center; padding: 36px 20px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.06); border: 1px solid #eef0ee; }
.home-redesign .hr-stat .hr-icon { margin-bottom: 16px; }
.home-redesign .hr-stat-value { font-size: 40px; font-weight: 800; color: var(--hr-green); line-height: 1; margin-bottom: 10px; }
.home-redesign .hr-stat-label { font-weight: 500; }

/* ----- Tech ----- */
.home-redesign .hr-tech-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.home-redesign .hr-tech-intro h2 { color: var(--hr-ink); font-size: 38px; line-height: 1.15; margin-bottom: 18px; }
.home-redesign .hr-tech-intro p { font-size: 16px; line-height: 1.8; margin-bottom: 26px; }
.home-redesign .hr-tech-cards { display: grid; gap: 18px; }
.home-redesign .hr-tech-card {
    display: flex; gap: 16px; padding: 22px; background: #fff; border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06); border: 1px solid #eef0ee;
}
.home-redesign .hr-tech-card .hr-icon { flex: 0 0 auto; width: 52px; height: 52px; font-size: 20px; }
.home-redesign .hr-tech-card h3 { color: var(--hr-ink); font-size: 17px; margin-bottom: 6px; }
.home-redesign .hr-tech-card p { font-size: 14px; line-height: 1.6; margin: 0; }

/* ----- Newsletter ----- */
.home-redesign .hr-newsletter {
    display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
    background: #fff; border-radius: 20px; padding: 36px 40px; box-shadow: 0 12px 34px rgba(0,0,0,.07);
    max-width: 900px; margin: 0 auto;
}
.home-redesign .hr-newsletter h3 { color: var(--hr-ink); margin-bottom: 6px; }
.home-redesign .hr-newsletter p { margin: 0; }

/* ----- CTA wrap (reuses .impact-story-cta from fff.css) ----- */
.home-redesign .hr-cta-wrap { padding: 70px 0 100px; }

/* ----- Responsive ----- */
@media (max-width: 991.98px) {
    .home-redesign .hr-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .home-redesign .hr-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .home-redesign .hr-tech-grid { grid-template-columns: 1fr; gap: 34px; }
    .home-redesign .hr-mission-title { font-size: 30px; }
    .home-redesign .hr-head h2, .home-redesign .hr-tech-intro h2 { font-size: 30px; }
    .home-redesign .hr-quote blockquote { font-size: 24px; }
}

@media (max-width: 575.98px) {
    .home-redesign .hr-section { padding: 64px 0; }
    .home-redesign .hr-grid-3, .home-redesign .hr-grid-4 { grid-template-columns: 1fr; }
    .home-redesign .hr-mission-title { font-size: 26px; }
    .home-redesign .hr-newsletter { padding: 28px 24px; text-align: center; justify-content: center; }
}

/* ==========================================================================
   Programs — dark green TABBED section (matches the reference design).
   ========================================================================== */
.home-redesign .hr-dark {
    background: radial-gradient(120% 120% at 50% 0%, #1c4226 0%, #0e2414 60%, #0a1c10 100%);
    color: #fff;
}
.home-redesign .hr-head-light .hr-eyebrow { color: var(--hr-green-2); }
.home-redesign .hr-head-light h2 { color: #fff; }
.home-redesign .hr-head-light p { color: rgba(255, 255, 255, .82); }

.home-redesign .hr-tabs {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 26px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: 18px;
}

.home-redesign .hr-tablist { display: flex; flex-direction: column; }

.home-redesign .hr-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px;
    background: transparent;
    border: 0;
    border-left: 4px solid transparent;
    color: rgba(255, 255, 255, .72);
    font-weight: 600;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.home-redesign .hr-tablist .hr-tab + .hr-tab { border-top: 1px solid rgba(255, 255, 255, .08); }
.home-redesign .hr-tab:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.home-redesign .hr-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border-left-color: #f4910f;   /* orange accent like the reference */
}
.home-redesign .hr-tab-emoji { font-size: 24px; line-height: 1; }
.home-redesign .hr-tab-label { line-height: 1.3; }

.home-redesign .hr-tabpanels { position: relative; min-height: 440px; }
.home-redesign .hr-tabpanel {
    display: none;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(7, 20, 11, .55);
}
.home-redesign .hr-tabpanel.active {
    display: flex;
    flex-direction: column;
    animation: hrFade .35s ease;
}
/* Image as its own block at the top of the card */
.home-redesign .hr-tabpanel-media { width: 100%; height: 280px; overflow: hidden; }
.home-redesign .hr-tabpanel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Text below the image on a solid dark panel */
.home-redesign .hr-tabpanel-body {
    flex: 1;
    padding: 32px;
    background: #07140b;
    color: #fff;
}
.home-redesign .hr-tabpanel-body h3 { color: #fff; font-size: 24px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.home-redesign .hr-tabpanel-body p { color: rgba(255, 255, 255, .9); margin-bottom: 18px; line-height: 1.7; max-width: 560px; }

.home-redesign .hr-btn-light { background: #fff; color: var(--hr-ink); border: 2px solid #fff; }
.home-redesign .hr-btn-light:hover { background: var(--hr-green-2); border-color: var(--hr-green-2); color: #0c2114; transform: translateY(-3px); }

@keyframes hrFade { from { opacity: 0; } to { opacity: 1; } }

/* Tabs responsive: vertical list → horizontal pill row above the panel */
@media (max-width: 991.98px) {
    .home-redesign .hr-tabs { grid-template-columns: 1fr; }
    .home-redesign .hr-tablist { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .home-redesign .hr-tablist .hr-tab,
    .home-redesign .hr-tablist .hr-tab + .hr-tab {
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 50px;
        padding: 11px 18px;
        font-size: 14px;
    }
    .home-redesign .hr-tablist .hr-tab.active { border-color: #f4910f; }
    .home-redesign .hr-tab-label { white-space: nowrap; }
    .home-redesign .hr-tabpanels,
    .home-redesign .hr-tabpanel { min-height: 360px; }
}
@media (max-width: 575.98px) {
    .home-redesign .hr-tab-emoji { font-size: 18px; }
    .home-redesign .hr-tab-label { font-size: 13px; }
    .home-redesign .hr-tabpanel-body { padding: 22px; }
}

/* ==========================================================================
   Impact (green, full width) · Partners · Dark Tech · Ticker · Subscribe
   ========================================================================== */

/* Impact — green full-width band, 5 stats */
.home-redesign .hr-impact-green {
    background: radial-gradient(120% 120% at 50% 0%, #1c4226 0%, #0e2414 60%, #0a1c10 100%);
}
.home-redesign .hr-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.home-redesign .hr-impact-green .hr-stat {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: none;
}
.home-redesign .hr-impact-green .hr-stat .hr-icon { background: var(--hr-green-2); }
.home-redesign .hr-impact-green .hr-stat-value { color: #fff; }
.home-redesign .hr-impact-green .hr-stat-label { color: rgba(255, 255, 255, .82); }

/* Partners — single-line auto-scrolling marquee */
.home-redesign .hr-partners-marquee {
    position: relative;
    overflow: hidden;
    margin: 10px 0 6px;
    padding: 30px 0;
    /* soft fade on both edges */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.home-redesign .hr-partners-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    animation: hrMarquee 90s linear infinite;
}
/* pause on hover */
.home-redesign .hr-partners-marquee:hover .hr-partners-track { animation-play-state: paused; }

/* spacing lives on each item (not a flex gap) so the -50% loop is seamless */
.home-redesign .hr-partner-logo { height: 60px; flex: 0 0 auto; padding: 0 32px; display: flex; align-items: center; }
.home-redesign .hr-partner-logo img {
    max-height: 58px; max-width: 170px; width: auto; object-fit: contain;
    filter: grayscale(1); opacity: .85; transition: opacity .25s ease;
}
.home-redesign .hr-partner-logo img:hover { opacity: 1; }
.home-redesign .hr-partner-name { font-weight: 700; color: var(--hr-ink); font-size: 18px; white-space: nowrap; }

@keyframes hrMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .home-redesign .hr-partners-track { animation: none; }
}

/* Tech — dark variant */
.home-redesign .hr-tech.hr-dark .hr-eyebrow { color: var(--hr-green-2); }
.home-redesign .hr-tech.hr-dark .hr-tech-intro h2 { color: #fff; }
.home-redesign .hr-tech.hr-dark .hr-tech-intro p { color: rgba(255, 255, 255, .82); }
.home-redesign .hr-tech.hr-dark .hr-tech-card {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .10);
}
.home-redesign .hr-tech.hr-dark .hr-tech-card h3 { color: #fff; }
.home-redesign .hr-tech.hr-dark .hr-tech-card p { color: rgba(255, 255, 255, .78); }

/* Project stats */
.home-redesign .hr-project-stats {
    display: flex; gap: 26px; margin-bottom: 16px; padding: 14px 0;
    border-top: 1px solid #eef0ee;
}
.home-redesign .hr-project-stat { display: flex; flex-direction: column; }
.home-redesign .hr-ps-value { font-size: 20px; font-weight: 800; color: var(--hr-green); line-height: 1; }
.home-redesign .hr-ps-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #8a978c; margin-top: 5px; }

/* From the Field — scrolling ticker */
.home-redesign .hr-ticker {
    overflow: hidden; padding: 16px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.home-redesign .hr-ticker-track {
    display: inline-flex; gap: 18px; white-space: nowrap;
    animation: hrTicker 45s linear infinite; will-change: transform;
}
.home-redesign .hr-ticker:hover .hr-ticker-track { animation-play-state: paused; }
.home-redesign .hr-ticker-item {
    display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto;
    padding: 14px 26px; background: #fff; border: 1px solid #e6ece4; border-radius: 50px;
    text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}
.home-redesign .hr-ticker-tag { font-weight: 700; color: var(--hr-green); }
.home-redesign .hr-ticker-text { color: var(--hr-text); }
@keyframes hrTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Subscribe banner (green) */
.home-redesign .hr-subscribe-wrap { padding: 10px 0 90px; }
.home-redesign .hr-subscribe {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
    background: radial-gradient(140% 160% at 0% 0%, #2f5e3a 0%, #14361f 100%);
    border-radius: 24px; padding: 50px 48px; color: #fff;
    box-shadow: 0 22px 54px rgba(20, 54, 31, .25);
}
.home-redesign .hr-subscribe-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 14px;
    color: #f4910f;
    font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.home-redesign .hr-subscribe h2 { color: #fff; margin-bottom: 8px; font-size: 28px; }
.home-redesign .hr-subscribe p { color: rgba(255, 255, 255, .85); margin: 0; }
.home-redesign .hr-subscribe-form { display: flex; gap: 12px; flex: 1 1 380px; max-width: 500px; }
.home-redesign .hr-subscribe-form input {
    flex: 1; min-width: 0; padding: 14px 22px; border-radius: 50px; border: 0; outline: none; font-size: 15px;
}

@media (max-width: 991.98px) {
    .home-redesign .hr-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
    .home-redesign .hr-stats { grid-template-columns: 1fr 1fr; }
    .home-redesign .hr-subscribe { padding: 36px 24px; }
    .home-redesign .hr-subscribe-form { flex-direction: column; }
    .home-redesign .hr-subscribe-form .hr-btn-light { width: 100%; }
}

/* ==========================================================================
   Project Anāhitā — image banner (rounded card on a dark-green band).
   ========================================================================== */
.home-redesign .hr-anahita {
    background: #0e2414;
    padding: 50px 0;
}

.home-redesign .hr-anahita-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 380px;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-redesign .hr-anahita-content {
    position: relative;
    z-index: 2;
    padding: 56px 60px;
    max-width: 640px;
}

.home-redesign .hr-anahita-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #e09a45;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-redesign .hr-anahita-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 44px;
    line-height: 1.14;
    margin: 0 0 28px;
    max-width: 520px;
}

.home-redesign .hr-anahita-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    background: #d98a3a;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.home-redesign .hr-anahita-btn:hover {
    background: #c4792e;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .3);
}

@media (max-width: 767.98px) {
    .home-redesign .hr-anahita { padding: 34px 0; }
    .home-redesign .hr-anahita-banner { min-height: 320px; }
    .home-redesign .hr-anahita-content { padding: 40px 28px; }
    .home-redesign .hr-anahita-content h2 { font-size: 30px; }
}

/* ==========================================================================
   "Build your Impact Story" — full-width ORANGE band (text left, pill right).
   ========================================================================== */
.home-redesign .hr-impact-band {
    background: #d98a3a;
    padding: 54px 0;
}

.home-redesign .hr-impact-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
}

.home-redesign .hr-impact-band-text {
    flex: 1 1 520px;
}

.home-redesign .hr-impact-band-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 10px;
}

.home-redesign .hr-impact-band-text p {
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    max-width: 780px;
}

.home-redesign .hr-impact-band-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border: 2px solid #fff;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.home-redesign .hr-impact-band-btn .hr-arrow {
    font-size: 18px;
    line-height: 1;
}

.home-redesign .hr-impact-band-btn:hover {
    background: #fff;
    color: #d98a3a;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .home-redesign .hr-impact-band { padding: 44px 0; }
    .home-redesign .hr-impact-band-inner { flex-direction: column; align-items: flex-start; }
    .home-redesign .hr-impact-band-text h2 { font-size: 30px; }
    .home-redesign .hr-impact-band-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Open-Source Technology — teal section with drone diagram (matches reference)
   ========================================================================== */
.home-redesign .hr-techsol {
    position: relative;
    overflow: hidden;
    background: #0a3d4a;
    color: #fff;
    padding: 90px 0;
}
.home-redesign .hr-techsol-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.home-redesign .hr-techsol .container { position: relative; z-index: 1; }
.home-redesign .hr-techsol-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-redesign .hr-techsol-eyebrow {
    display: inline-block;
    color: #e8831a;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.home-redesign .hr-techsol-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 46px;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 22px;
}
.home-redesign .hr-techsol-title span { color: #e8831a; }
.home-redesign .hr-techsol-copy p {
    color: rgba(255, 255, 255, .75);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 560px;
}
.home-redesign .hr-techsol-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-redesign .hr-techsol-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.home-redesign .hr-techsol-btn-primary { background: #e8831a; color: #fff; border: 2px solid #e8831a; }
.home-redesign .hr-techsol-btn-primary:hover { background: #c96e10; border-color: #c96e10; color: #fff; transform: translateY(-3px); }
.home-redesign .hr-techsol-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .5); }
.home-redesign .hr-techsol-btn-outline:hover { background: #fff; color: #0a3d4a; transform: translateY(-3px); }

/* Right-hand drone diagram */
.home-redesign .hr-techsol-visual {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-redesign .hr-techsol-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
}
.home-redesign .hr-techsol-ring-1 { width: 320px; height: 320px; animation: hrTechPulse 3s ease-in-out infinite; }
.home-redesign .hr-techsol-ring-2 { width: 256px; height: 256px; border-color: rgba(255, 255, 255, .16); }
@keyframes hrTechPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.home-redesign .hr-techsol-drone { width: 260px; height: 260px; position: relative; z-index: 2; }

.home-redesign .hr-techsol-corner { position: absolute; width: 32px; height: 32px; }
.home-redesign .hr-techsol-corner svg { width: 100%; height: 100%; fill: none; }
.home-redesign .hr-techsol-corner.tl { top: 24px; left: 24px; }
.home-redesign .hr-techsol-corner.tr { top: 24px; right: 24px; }
.home-redesign .hr-techsol-corner.bl { bottom: 24px; left: 24px; }
.home-redesign .hr-techsol-corner.br { bottom: 24px; right: 24px; }

.home-redesign .hr-techsol-tag {
    position: absolute;
    z-index: 3;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(232, 131, 26, .85);
    background: rgba(10, 61, 74, .8);
    border: 1px solid rgba(232, 131, 26, .35);
    border-radius: 50px;
    padding: 5px 12px;
    white-space: nowrap;
}
.home-redesign .hr-techsol-tag-top { top: 4%; left: 50%; transform: translateX(-50%); }
.home-redesign .hr-techsol-tag-right { top: 50%; right: 0; transform: translateY(-50%); }
.home-redesign .hr-techsol-tag-bottom { bottom: 4%; left: 50%; transform: translateX(-50%); }
.home-redesign .hr-techsol-tag-left { top: 50%; left: 0; transform: translateY(-50%); }

@media (max-width: 991.98px) {
    .home-redesign .hr-techsol-inner { grid-template-columns: 1fr; gap: 44px; }
    .home-redesign .hr-techsol-title { font-size: 36px; }
    .home-redesign .hr-techsol-visual { min-height: 360px; }
}

/* ==========================================================================
   Our Work in Action — dark project showcase (matches reference design)
   ========================================================================== */
.home-redesign .hr-projects2 { background: #1a3d2b; color: #fff; padding: 90px 0; }
.home-redesign .hr-projects2-head { max-width: 640px; margin-bottom: 48px; }
.home-redesign .hr-projects2-eyebrow {
    display: inline-block; color: #e8831a; font-weight: 700; font-size: 13px;
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}
.home-redesign .hr-projects2-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 46px; line-height: 1.1; color: #fff; margin-bottom: 16px; max-width: 620px;
}
.home-redesign .hr-projects2-sub { color: rgba(255, 255, 255, .6); font-size: 17px; max-width: 560px; }

.home-redesign .hr-projects2-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    max-width: 900px; margin: 0 auto;
}
.home-redesign .hr-project2-card {
    display: block; text-decoration: none; color: inherit;
    border-radius: 18px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #152e20;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.home-redesign .hr-project2-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 131, 26, .5);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
.home-redesign .hr-project2-media { position: relative; height: 210px; overflow: hidden; }
.home-redesign .hr-project2-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-redesign .hr-project2-card:hover .hr-project2-media img { transform: scale(1.05); }
.home-redesign .hr-project2-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #1a3d2b 0%, transparent 60%); }
.home-redesign .hr-project2-badge {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    background: #e8831a; color: #fff; font-size: 12px; font-weight: 700;
    padding: 5px 14px; border-radius: 50px;
}
.home-redesign .hr-project2-loc {
    position: absolute; bottom: 16px; left: 16px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255, 255, 255, .85); font-size: 13px;
}
.home-redesign .hr-project2-body { padding: 24px; }
.home-redesign .hr-project2-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff; font-size: 21px; margin-bottom: 10px; transition: color .2s ease;
}
.home-redesign .hr-project2-card:hover .hr-project2-body h3 { color: #e8831a; }
.home-redesign .hr-project2-body p {
    color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.7; margin-bottom: 20px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.home-redesign .hr-project2-stats {
    display: flex; gap: 22px; padding-bottom: 18px; margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.home-redesign .hr-project2-stat-val { color: #e8831a; font-weight: 700; font-size: 15px; }
.home-redesign .hr-project2-stat-label { color: rgba(255, 255, 255, .4); font-size: 12px; }
.home-redesign .hr-project2-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: #e8831a; font-weight: 600; font-size: 14px;
}
.home-redesign .hr-project2-link i { transition: transform .2s ease; }
.home-redesign .hr-project2-card:hover .hr-project2-link i { transform: translateX(4px); }

@media (max-width: 767.98px) {
    .home-redesign .hr-projects2-grid { grid-template-columns: 1fr; max-width: 460px; }
    .home-redesign .hr-projects2-title { font-size: 34px; }
}

/* ==========================================================================
   From the Field — auto-scrolling card carousel
   ========================================================================== */
.home-redesign .hr-field { background: #f5f0e0; overflow: hidden; }
.home-redesign .hr-field-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 36px;
}
.home-redesign .hr-field-title { color: var(--hr-ink); font-size: 38px; line-height: 1.15; margin: 0 0 8px; }
.home-redesign .hr-field-sub { color: rgba(26, 61, 43, .65); font-size: 17px; margin: 0; }
.home-redesign .hr-field-viewall { flex: 0 0 auto; }

.home-redesign .hr-field-carousel { overflow: hidden; }
.home-redesign .hr-field-track {
    display: flex;
    width: max-content;
    animation: hrFieldScroll 70s linear infinite;   /* slow, readable pace */
}
.home-redesign .hr-field-carousel:hover .hr-field-track { animation-play-state: paused; }
@keyframes hrFieldScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .home-redesign .hr-field-track { animation: none; }
}

.home-redesign .hr-field-card {
    flex: 0 0 auto;
    width: 320px;
    margin: 0 12px;
    background: #fff;
    border: 1px solid rgba(26, 61, 43, .08);
    border-radius: 18px;
    padding: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.home-redesign .hr-field-card:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
    border-color: rgba(232, 131, 26, .3);
    transform: translateY(-3px);
}
.home-redesign .hr-field-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.home-redesign .hr-field-badge { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.home-redesign .hr-field-badge--newsletter { background: #1a3d2b; color: #fff; }
.home-redesign .hr-field-badge--press { background: rgba(232, 131, 26, .15); color: #e8831a; }
.home-redesign .hr-field-badge--award { background: #efe8d5; color: #1a3d2b; }
.home-redesign .hr-field-date { color: rgba(26, 61, 43, .4); font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.home-redesign .hr-field-card-title {
    color: #1a3d2b;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .2s ease;
}
.home-redesign .hr-field-card:hover .hr-field-card-title { color: #e8831a; }
.home-redesign .hr-field-card-desc {
    color: rgba(26, 61, 43, .55);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.home-redesign .hr-field-read { display: inline-flex; align-items: center; gap: 6px; color: #e8831a; font-weight: 600; font-size: 13px; margin-top: 16px; }
.home-redesign .hr-field-read i { transition: transform .2s ease; }
.home-redesign .hr-field-card:hover .hr-field-read i { transform: translateX(3px); }

@media (max-width: 767.98px) {
    .home-redesign .hr-field-head { flex-direction: column; align-items: flex-start; }
    .home-redesign .hr-field-title { font-size: 30px; }
}

/* From the Field — optional publication/source logo on a dispatch card */
.home-redesign .hr-field-logo { height: 28px; margin-bottom: 14px; }
.home-redesign .hr-field-logo img { height: 100%; width: auto; max-width: 140px; object-fit: contain; }
