/* ========================================
   GFG · Home Page (index)
   Editorial style aligned with about.css
   ======================================== */

.home-body {
    background: #fafaf7;
}

/* ---------- Shared atoms (home-only) ---------- */
.hp-italic {
    font-style: italic;
    color: var(--color-accent);
}

.hp-arrow {
    display: inline-block;
    transition: transform 0.35s ease;
}
a:hover .hp-arrow,
.hp-textlink:hover .hp-arrow,
.hp-cta-card:hover .hp-arrow {
    transform: translateX(6px);
}

.hp-paragraph {
    font-size: 17px;
    line-height: 1.85;
    color: var(--color-gray-600);
    margin: 0 0 28px;
}
.hp-paragraph em {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-accent-dark);
}

.hp-textlink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    border-bottom: 1px solid currentColor;
    padding-bottom: 6px;
}
.hp-textlink--strong { color: var(--color-primary); }
.hp-textlink:hover { color: var(--color-accent-dark); }

.hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.35s ease;
}
.hp-btn--light {
    background: #fff;
    color: var(--color-accent-dark);
}
.hp-btn--light:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.hp-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.55);
}
.hp-btn--ghost:hover {
    background: #fff;
    color: var(--color-accent-dark);
    border-color: #fff;
}

/* ---------- Section heads ---------- */
.hp-section-head {
    max-width: 760px;
    margin: 0 0 72px;
}
.hp-section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.hp-section-head--center .ab-eyebrow { padding-left: 0; }
.hp-section-head--center .ab-eyebrow::before { display: none; }

.hp-section-head--split {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 80px;
}
.hp-section-head--split .ab-deck {
    margin-bottom: 0;
    max-width: 480px;
    justify-self: end;
}

/* =========================================
   HERO
   ========================================= */
.hp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}
.hp-hero__media { position: absolute; inset: 0; z-index: 0; }
.hp-hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: hpZoom 16s ease-out forwards;
}
@keyframes hpZoom { to { transform: scale(1); } }
.hp-hero__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(15,30,15,0.15) 0%, rgba(15,30,15,0.5) 60%, rgba(15,30,15,0.85) 100%);
}
.hp-hero__inner {
    position: relative; z-index: 2;
    padding-top: 200px;
    padding-bottom: 110px;
    width: 100%;
}

/* ----- Triptych / film-strip hero ----- */
.hp-hero--triptych {
    min-height: 100vh;
    align-items: stretch;
    background: #0c0d0a;
}
.hp-hero__triptych {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    perspective: 1600px;
}
.hp-panel {
    --offset: 0;
    --abs-offset: 0;
    --step: 60%;
    position: absolute;
    top: 0;
    left: 50%;
    width: 56%;
    max-width: 920px;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
    font: inherit;
    transform: translate3d(calc(-50% + (var(--offset) * var(--step))), 0, 0)
               scale(0.7);
    opacity: 0.45;
    filter: brightness(0.7);
    transition:
        transform 1s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 1s cubic-bezier(0.65, 0, 0.35, 1),
        filter 1s cubic-bezier(0.65, 0, 0.35, 1),
        z-index 0s linear 0.5s;
    z-index: calc(10 - var(--abs-offset));
}
.hp-panel.is-active {
    transform: translate3d(-50%, 0, 0) scale(1);
    opacity: 1;
    filter: brightness(1);
    z-index: 20;
    transition:
        transform 1s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 1s cubic-bezier(0.65, 0, 0.35, 1),
        filter 1s cubic-bezier(0.65, 0, 0.35, 1),
        z-index 0s linear;
}
.hp-panel.is-far {
    opacity: 0;
    pointer-events: none;
}
.hp-panel__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hp-panel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 8s ease-out, filter 1.1s ease;
    filter: grayscale(0.25) brightness(0.92);
}
.hp-panel.is-active .hp-panel__media img {
    transform: scale(1);
    filter: grayscale(0) brightness(1);
    animation: hpPanelZoom 9s ease-out forwards;
}
@keyframes hpPanelZoom {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}
.hp-panel__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,15,10,0.05) 0%, rgba(10,15,10,0.55) 65%, rgba(10,15,10,0.92) 100%);
}
.hp-panel__content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 32px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .8s ease, transform .8s ease;
    pointer-events: none;
}
.hp-panel.is-active .hp-panel__content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .8s ease .2s, transform .8s ease .2s;
}
.hp-panel__num {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.85);
}
.hp-panel__cat {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}
.hp-panel__name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.4rem, 2.4vw, 2.4rem);
    line-height: 1.05;
    margin: 4px 0 6px;
    letter-spacing: -0.01em;
}
.hp-panel__line {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.78);
    margin: 0;
    max-width: 340px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .9s ease .15s, max-height .9s ease .15s;
}
.hp-panel.is-active .hp-panel__line {
    opacity: 1;
    max-height: 120px;
}

/* Hero overlay (copy + nav sit on top of the triptych) */
.hp-hero__overlay {
    position: relative;
    z-index: 3;
    padding-top: 200px;
    padding-bottom: 110px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}
.hp-hero__overlay > * { pointer-events: auto; }
.hp-hero__copy {
    max-width: 720px;
    margin-bottom: 56px;
}

.hp-hero__title {
    font-family: 'Archivo Narrow', 'Inter Tight', 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 4.6vw, 72px);
    line-height: 0.95;
    letter-spacing: -1px;
    text-transform: uppercase;
    width: 33vw;
    max-width: 520px;
    margin: 0 0 28px;
    color: #fff;
    text-shadow: 0 6px 40px rgba(0,0,0,0.35);
}
.hp-hero__title .hl {
    font-style: italic;
    color: #b9d8a4;
}
.hp-hero__lead {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.75;
    max-width: 600px;
    color: rgba(255,255,255,0.88);
    margin: 0 0 48px;
}
.hp-hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

/* Hero navigation strip */
.hp-hero__nav {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 0 14px;
    border-top: 1px solid rgba(255,255,255,0.18);
    margin-bottom: 28px;
    color: rgba(255,255,255,0.85);
}
.hp-hero__navLabel {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}
.hp-hero__dots {
    display: flex;
    gap: 12px;
    flex: 1 1 auto;
}
.hp-hero__dot {
    width: 26px;
    height: 2px;
    background: rgba(255,255,255,0.28);
    transition: background .4s ease, transform .4s ease, width .4s ease;
    cursor: pointer;
}
.hp-hero__dot.is-active {
    background: #fff;
    width: 44px;
    transform: scaleY(2);
}
.hp-hero__counter {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.75);
}
.hp-hero__counter em {
    font-style: normal;
    color: #fff;
    font-size: 1.05rem;
    margin-right: 4px;
}

/* =========================================
   INTRO
   ========================================= */
.hp-intro {
    padding: 160px 0 140px;
    background: #fafaf7;
    position: relative;
}
.hp-intro::before {
    content: "GFG";
    position: absolute;
    top: 80px; right: -10px;
    font-family: var(--font-display);
    font-size: clamp(140px, 20vw, 320px);
    font-weight: 700;
    color: rgba(45,90,39,0.04);
    letter-spacing: -0.04em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.hp-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 96px;
    align-items: start;
    position: relative;
}
.hp-intro__lede .ab-display {
    font-size: clamp(32px, 4.6vw, 56px);
    margin-bottom: 0;
}
.hp-intro__body {
    padding-top: 16px;
}

/* =========================================
   MARKETS — dark like vision section
   ========================================= */
.hp-markets {
    padding: 150px 0 140px;
    background:
        linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 65%, #3a7030 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hp-markets::before {
    content: "MARKETS";
    position: absolute;
    bottom: 50px; left: -20px;
    font-family: var(--font-display);
    font-size: clamp(120px, 16vw, 240px);
    font-weight: 700;
    color: rgba(255,255,255,0.05);
    letter-spacing: -0.04em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.hp-markets .hp-section-head { max-width: 760px; }
.hp-markets__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}
.hp-market {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    overflow: hidden;
    transition: transform 0.5s ease, border-color 0.5s ease, background 0.5s ease;
}
.hp-market:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
}
.hp-market__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.hp-market__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s ease;
    filter: saturate(0.9);
}
.hp-market:hover .hp-market__media img {
    transform: scale(1.06);
    filter: saturate(1.1);
}
.hp-market__body {
    padding: 36px 32px 40px;
}
.hp-market__num {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.4em;
    color: #b9d8a4;
}
.hp-market__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    margin: 12px 0 14px;
}
.hp-market__desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
}

/* =========================================
   HIGHLIGHTS
   ========================================= */
.hp-highlights {
    padding: 150px 0 140px;
    background: #fff;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}
.hp-highlights__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--color-gray-200);
}
.hp-figure {
    padding: 56px 32px 56px;
    border-right: 1px solid var(--color-gray-200);
    text-align: left;
}
.hp-figure:last-child { border-right: none; }
.hp-figure__value {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
}
.hp-figure__plus {
    font-size: 0.5em;
    margin-left: 4px;
    color: var(--color-accent-light);
}
.hp-figure__label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
    line-height: 1.6;
}
.hp-figure__label span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: none;
    color: var(--color-gray-500);
    margin-top: 6px;
}

/* =========================================
   BRANDS
   ========================================= */
.hp-brands {
    padding: 150px 0 140px;
    background: #fafaf7;
    position: relative;
}
.hp-brands::before {
    content: "BRANDS";
    position: absolute;
    top: 70px; right: -10px;
    font-family: var(--font-display);
    font-size: clamp(120px, 16vw, 240px);
    font-weight: 700;
    color: rgba(45,90,39,0.04);
    letter-spacing: -0.04em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.hp-brands__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}
.hp-brand {
    background: #fff;
    border: 1px solid var(--color-gray-200);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.hp-brand:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}
.hp-brand__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}
.hp-brand__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s ease;
}
.hp-brand:hover .hp-brand__media img { transform: scale(1.05); }
.hp-brand__badge {
    position: absolute;
    top: 24px; left: 24px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
    backdrop-filter: blur(8px);
}
.hp-brand__badge--live {
    background: rgba(45,90,39,0.92);
    color: #fff;
}
.hp-brand__badge--soon {
    background: rgba(255,255,255,0.92);
    color: var(--color-primary);
}
.hp-brand__body { padding: 44px 40px 48px; }
.hp-brand__name {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 8px;
    letter-spacing: 1px;
}
.hp-brand__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--color-accent);
    margin: 0 0 20px;
}
.hp-brand__desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin: 0 0 28px;
}

/* =========================================
   SUSTAINABILITY STRIP
   ========================================= */
.hp-sustain {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hp-sustain__media { position: absolute; inset: 0; z-index: 0; }
.hp-sustain__media img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hp-sustain__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(120deg, rgba(20,40,20,0.85) 0%, rgba(31,63,26,0.78) 50%, rgba(45,90,39,0.5) 100%);
}
.hp-sustain__inner {
    position: relative;
    z-index: 1;
    padding: 130px 0;
    max-width: 760px;
}
.hp-sustain__points {
    list-style: none;
    padding: 0;
    margin: 8px 0 40px;
}
.hp-sustain__points li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.18);
    font-size: 16px;
    color: rgba(255,255,255,0.92);
}
.hp-sustain__points li:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.hp-dot {
    width: 10px; height: 10px;
    background: #b9d8a4;
    border-radius: 50%;
    flex-shrink: 0;
}

/* =========================================
   NEWS
   ========================================= */
.hp-news {
    padding: 150px 0 140px;
    background: #fff;
}
.hp-news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.hp-news-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease;
}
.hp-news-card:hover { transform: translateY(-6px); }
.hp-news-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 28px;
}
.hp-news-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}
.hp-news-card:hover .hp-news-card__media img { transform: scale(1.05); }
.hp-news-card__date {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}
.hp-news-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-primary);
    margin: 0 0 16px;
}
.hp-news-card__excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin: 0 0 24px;
    flex: 1;
}

/* =========================================
   CTA — Investors / Careers
   ========================================= */
.hp-cta {
    padding: 0 0 120px;
    background: #fafaf7;
}
.hp-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.hp-cta-card {
    position: relative;
    padding: 80px 56px 72px;
    color: #fff;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.5s ease;
}
.hp-cta-card:hover { transform: translateY(-6px); }
.hp-cta-card--investors {
    background: linear-gradient(135deg, #1f3f1a 0%, #2d5a27 100%);
}
.hp-cta-card--careers {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c42 100%);
}
.hp-cta-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(185,216,164,0.12), transparent 60%);
    pointer-events: none;
}
.hp-cta-card__title {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #fff;
}
.hp-cta-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin: 0 0 28px;
    max-width: 380px;
}
.hp-cta-card__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 6px;
    align-self: flex-start;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .hp-hero__inner { padding-top: 160px; padding-bottom: 90px; }
    .hp-hero__overlay { padding-top: 160px; padding-bottom: 90px; }
    .hp-panel__content { left: 20px; right: 20px; bottom: 24px; }
    .hp-intro__grid { grid-template-columns: 1fr; gap: 48px; }
    .hp-section-head--split { grid-template-columns: 1fr; gap: 24px; }
    .hp-section-head--split .ab-deck { justify-self: start; }
    .hp-markets__grid { grid-template-columns: 1fr; gap: 28px; }
    .hp-highlights__grid { grid-template-columns: repeat(2, 1fr); }
    .hp-figure { border-right: none; border-bottom: 1px solid var(--color-gray-200); }
    .hp-figure:nth-child(odd) { border-right: 1px solid var(--color-gray-200); }
    .hp-figure:nth-last-child(-n+2) { border-bottom: none; }
    .hp-brands__grid { grid-template-columns: 1fr; gap: 32px; }
    .hp-news__grid { grid-template-columns: 1fr; gap: 48px; }
    .hp-cta__grid { grid-template-columns: 1fr; }
    .hp-intro, .hp-markets, .hp-highlights, .hp-brands, .hp-news { padding: 100px 0; }
    .hp-sustain__inner { padding: 100px 0; }
}

@media (max-width: 640px) {
    .hp-hero__inner { padding-top: 140px; padding-bottom: 70px; }
    .hp-hero__overlay { padding-top: 140px; padding-bottom: 70px; }
    .hp-hero__title { font-size: clamp(34px, 9vw, 56px); letter-spacing: -0.5px; width: 80vw; max-width: 100%; }
    .hp-hero__cta { gap: 12px; }
    .hp-hero--triptych { min-height: 100vh; }
    .hp-panel { width: 78%; --step: 78%; }
    .hp-hero__nav { gap: 14px; flex-wrap: wrap; }
    .hp-hero__dot { width: 18px; }
    .hp-hero__dot.is-active { width: 30px; }
    .hp-btn { padding: 14px 24px; font-size: 12px; }
    .hp-highlights__grid { grid-template-columns: 1fr; }
    .hp-figure { border-right: none !important; border-bottom: 1px solid var(--color-gray-200); padding: 40px 0; }
    .hp-figure:last-child { border-bottom: none; }
    .hp-brand__body { padding: 36px 28px 40px; }
    .hp-brand__name { font-size: 30px; }
    .hp-cta-card { padding: 56px 32px 48px; min-height: 280px; }
}
