/* ─────────────────────────────────────────────────────
   PLATINUM FOUNDATION — home.css
   Homepage: hero, announcement, editorial panels, get involved
───────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────── */

.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--dark) center/cover no-repeat;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9,21,32,.85) 0%, rgba(9,21,32,.55) 55%, rgba(9,21,32,.2) 100%),
        linear-gradient(to top, rgba(9,21,32,.4) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 64px;
    max-width: 660px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 24px;
    opacity: 0;
    animation: slideUp .8s ease .2s forwards;
}

.hero-eyebrow-line {
    width: 30px; height: 1px;
    background: var(--purple);
    flex-shrink: 0;
}

.hero-h1 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 36px;
    opacity: 0;
    animation: slideUp .8s ease .4s forwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    border: 1.5px solid rgba(255,255,255,.65);
    color: var(--white);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: border-color .3s;
    opacity: 0;
    animation: slideUp .8s ease .6s forwards;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--purple);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .32s ease;
    z-index: -1;
}

.hero-cta:hover { border-color: var(--purple); }
.hero-cta:hover::before { transform: scaleX(1); }

.hero-scroll {
    position: absolute;
    bottom: 44px; left: 64px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: slideUp .8s ease 1s forwards;
}

.scroll-track {
    width: 1px; height: 48px;
    background: rgba(255,255,255,.2);
    position: relative;
    overflow: hidden;
}

.scroll-track::after {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 100%;
    background: var(--purple);
    animation: trackPulse 1.8s ease infinite;
}

.scroll-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

/* ─────────────────────────────────────────────────────
   ANNOUNCEMENT BAR
───────────────────────────────────────────────────── */

.announcement {
    background: var(--green);
    display: flex;
    align-items: stretch;
    height: 100px;
    overflow: hidden;
}

.announcement-badge {
    flex-shrink: 0;
    background: var(--purple);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 44px 0 32px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.pulse-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    flex-shrink: 0;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    animation: pulsering 1.8s ease infinite;
}

.announcement-text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 32px;
    font-size: 13px;
    color: rgba(255,255,255,.75);
    letter-spacing: .02em;
}

.announcement-text strong {
    color: var(--white);
    font-weight: 600;
    margin-right: 6px;
}

.announcement-cta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 32px;
    border-left: 1px solid rgba(184,196,204,.1);
}

/* ─────────────────────────────────────────────────────
   EDITORIAL PANELS — SUPPORT / INSPIRE / CHANGE
───────────────────────────────────────────────────── */

.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 650px;
}

.editorial-img-left .editorial-image { order: -1; }

.editorial-image {
    position: relative;
    overflow: hidden;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s ease;
}

.editorial:hover .editorial-image img { transform: scale(1.04); }

.editorial-image::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}

.editorial-support .editorial-image::after { background: rgba(13,34,51,.35); }
.editorial-inspire .editorial-image::after { background: rgba(196,144,58,.18); }
.editorial-change  .editorial-image::after { background: rgba(20,95,116,.25); }

.editorial:hover .editorial-image::after { opacity: 1; }

.editorial-image-placeholder {
    width: 100%; height: 100%;
    min-height: 400px;
    background: var(--green);
}

.editorial-text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 64px 48px 3vw;
    overflow: hidden;
}

.editorial-img-left .editorial-text {
    padding: 48px 3vw 48px 64px;
}

.editorial-text::before {
    content: attr(data-num);
    position: absolute;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 280px;
    line-height: 1;
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
}

.editorial-support .editorial-text::before { color: rgba(255,255,255,.045); bottom: -30px; right: -20px; }
.editorial-inspire .editorial-text::before { color: rgba(13,34,51,.055);    bottom: -30px; left: -20px; }
.editorial-change  .editorial-text::before { color: rgba(20,95,116,.07);    bottom: -30px; right: -20px; }

.editorial-index {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.editorial-index-line {
    width: 28px; height: 1px;
    background: var(--purple);
    flex-shrink: 0;
}

.editorial-word {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(64px, 7vw, 104px);
    line-height: .92;
    letter-spacing: -.01em;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.editorial-rule {
    width: 44px; height: 2px;
    background: var(--purple);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.editorial-copy {
    font-size: 15px;
    line-height: 1.85;
    position: relative;
    z-index: 1;
}

/* Support — dark navy */
.editorial-support .editorial-text { background: var(--green); }
.editorial-support .editorial-index { color: var(--purple); }
.editorial-support .editorial-word  { color: var(--white); }
.editorial-support .editorial-copy  { color: rgba(255,255,255,.65); }

/* Inspire — warm cream */
.editorial-inspire .editorial-text { background: var(--cream); }
.editorial-inspire .editorial-index { color: var(--muted); }
.editorial-inspire .editorial-word  { color: var(--green); }
.editorial-inspire .editorial-copy  { color: var(--text-mid); }

/* Change — white with teal heading */
.editorial-change .editorial-text { background: var(--white); }
.editorial-change .editorial-index { color: var(--muted); }
.editorial-change .editorial-word  { color: var(--teal); }
.editorial-change .editorial-copy  { color: var(--muted); }

/* ─────────────────────────────────────────────────────
   GET INVOLVED
───────────────────────────────────────────────────── */

.section-involved {
    position: relative;
    padding: 150px 64px;
    overflow: hidden;
    text-align: center;
}

.involved-bg {
    position: absolute;
    inset: 0;
    background: var(--dark) center/cover no-repeat;
}

.involved-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9,21,32,.88), rgba(9,21,32,.92));
}

.involved-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.involved-word {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(52px, 8vw, 92px);
    line-height: .92;
    letter-spacing: -.01em;
    color: var(--white);
    margin-bottom: 16px;
}

.involved-rule {
    width: 44px; height: 2px;
    background: var(--purple);
    margin: 0 auto 28px;
}

.involved-subtitle {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 20px;
    color: var(--platinum);
    margin-bottom: 24px;
}

.involved-body {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255,255,255,.65);
    margin-bottom: 44px;
}

/* ─────────────────────────────────────────────────────
   RESPONSIVE — HOME
───────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .hero-content { padding: 0 32px; }
    .hero-scroll  { left: 32px; }
    .editorial-text { padding: 48px 40px; }
    .section-involved { padding: 100px 32px; }
}

@media (max-width: 768px) {
    .hero-content { padding: 0 24px; max-width: 100%; }
    .hero-scroll  { display: none; }

    .announcement { height: auto; flex-direction: column; }
    .announcement-badge { clip-path: none; width: 100%; padding: 12px 24px; }
    .announcement-text { padding: 14px 24px; }
    .announcement-cta { border-left: none; border-top: 1px solid rgba(184,196,204,.1); padding: 14px 24px; width: 100%; }

    .editorial { grid-template-columns: 1fr; height: auto; }
    .editorial-image { height: 260px; order: -1 !important; }
    .editorial-text { padding: 40px 24px; }
    .editorial-text::before { font-size: 140px; }
    .editorial-word { font-size: 52px; margin-bottom: 20px; }
    .editorial-copy { font-size: 14px; }

    .section-involved { padding: 80px 24px; }
    .involved-word { font-size: 48px; }
}

@media (max-width: 480px) {
    .hero-h1 { font-size: 30px; }
    .editorial-image { height: 220px; }
    .editorial-word { font-size: 44px; }
    .section-involved { padding: 64px 20px; }
    .involved-word { font-size: 40px; }
}
