*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* USF Official Brand Colors */
    --dark:       #003320;
    --dark-mid:   #005432;
    --gold:       #CFC493;
    --gold-light: #e8e2c0;
    --usf-yellow: #F5A624;
    --cream:      #EDEBD1;
    --cream-dim:  #b8b48a;
    --forest:     #006747;
    --slate:      #004d36;
    --text:       #0a1f14;
    --text-mid:   #2a4a38;
    --text-muted: #5a7a68;
    --bg:         #f8faf8;
    --bg-warm:    #EDEBD1;
    --border:     rgba(0,103,71,0.15);
    --serif:      'Playfair Display', Georgia, serif;
    --sans:       'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid rgba(0,103,71,0.12);
    padding: 0 8vw;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.navbar-logo {
    height: 38px;
    width: auto;
    display: block;
}

.navbar-logo-placeholder {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 15px;
    color: var(--forest);
    font-style: italic;
}

.navbar-logo-placeholder .logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.navbar-right {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ── HERO ── */
.hero {
    background: var(--dark-mid);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px calc(340px + 10vw) 80px 8vw;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(207,196,147,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 80%, rgba(0,52,32,0.5) 0%, transparent 60%);
    pointer-events: none;
}

.hero-deco-ring {
    position: absolute;
    right: 6vw;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid rgba(207,196,147,0.15);
    pointer-events: none;
    overflow: hidden;
}

.hero-deco-ring::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(207,196,147,0.08);
    pointer-events: none;
    z-index: 2;
}

/* Slideshow images inside the ring */
.hero-ring-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-ring-img.active {
    opacity: 0.75;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--usf-yellow);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 400;
    color: var(--cream);
    line-height: 1.15;
    max-width: 680px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.25s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--usf-yellow);
}

.hero-sub {
    font-size: 17px;
    font-weight: 300;
    color: var(--cream-dim);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.55s forwards;
}

.pill {
    font-size: 12px;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 100px;
    border: 1px solid rgba(207,196,147,0.35);
    color: var(--gold);
    background: rgba(207,196,147,0.1);
    letter-spacing: 0.3px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-scroll span {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── SHARED SECTION STYLES ── */
section {
    padding: 96px 8vw;
}

.section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--usf-yellow);
    margin-bottom: 12px;
}

.section-heading {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 24px;
}

.section-intro {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-mid);
    max-width: 620px;
    line-height: 1.8;
    margin-bottom: 48px;
}

.divider {
    width: 48px;
    height: 1px;
    background: var(--usf-yellow);
    margin-bottom: 32px;
    opacity: 0.7;
}

/* ── ABOUT ── */
.about {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: center;
}

.about-photo-col {
    position: static;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    border: 1px solid var(--border);
}

.about-body {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.85;
    max-width: 680px;
    margin-bottom: 16px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.about-card {
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 24px;
    transition: border-color 0.3s;
}

.about-card:hover { border-color: rgba(196,149,106,0.45); }

.about-card-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--usf-yellow);
    margin-bottom: 8px;
}

.about-card-value {
    font-size: 15px;
    color: var(--text);
    line-height: 1.55;
}

/* ── REFLECTIONS ── */
.reflections {
    background: var(--dark-mid);
    border-bottom: 1px solid rgba(207,196,147,0.1);
}

.reflections .section-label { color: var(--usf-yellow); }
.reflections .section-heading { color: var(--cream); }
.reflections .section-intro { color: var(--cream-dim); }
.reflections .divider { opacity: 0.5; }

.reflect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reflect-card {
    border: 1px solid rgba(207,196,147,0.15);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}

.reflect-thumb,
.reflect-thumb-duo {
    flex-shrink: 0;
}

.reflect-card:hover {
    border-color: rgba(207,196,147,0.45);
    transform: translateY(-4px);
}

.reflect-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: var(--forest);
}

.reflect-thumb.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(196,149,106,0.4);
}

/* ── Dual photo card (Women in Agriculture) ── */
.reflect-thumb-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 100%;
    height: 200px;
}

.reflect-thumb-half {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reflect-thumb-half.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(207,196,147,0.5);
}

.t1 { background: #003320; }
.t2 { background: #005432; }
.t3 { background: #006747; }
.t4 { background: #004030; }
.t5 { background: #002a1a; }
.t6 { background: #004d36; }

.reflect-body { padding: 22px 22px 24px; }

.reflect-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--usf-yellow);
    margin-bottom: 8px;
    opacity: 0.9;
}

.reflect-body h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 12px;
    line-height: 1.3;
}

.reflect-body p {
    font-size: 14px;
    color: var(--cream-dim);
    line-height: 1.75;
}

/* ── TAKEAWAYS ── */
.takeaways {
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border);
}

.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.takeaway-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.takeaway-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--usf-yellow);
    margin-top: 6px;
    flex-shrink: 0;
}

.takeaway-item h4 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.takeaway-item p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.75;
}

.quote-row {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.quote-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
    min-width: 260px;
}

.quote-block {
    border-left: 2px solid var(--usf-yellow);
    padding: 20px 28px;
    background: white;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.quote-row > .quote-block {
    max-width: 680px;
    flex: 2;
    min-width: 300px;
}

.quote-block blockquote {
    font-family: var(--sans);
    font-style: italic;
    font-size: 20px;
    color: var(--text);
    line-height: 1.6;
}

/* ── GALLERY ── */
.gallery { background: var(--bg); }

.gallery-intro {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-mid);
    max-width: 720px;
    line-height: 1.85;
    margin-bottom: 16px;
}

.gallery-intro--sub {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item img,
.gallery-item .g-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.g-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(196,149,106,0.5);
}

.gi-1 { grid-column: span 5; grid-row: span 2; height: 320px; }
.gi-2 { grid-column: span 7; height: 154px; }
.gi-3 { grid-column: span 4; height: 154px; }
.gi-4 { grid-column: span 3; height: 154px; }
.gi-5 { grid-column: span 4; height: 220px; }
.gi-6 { grid-column: span 4; height: 220px; }
.gi-7 { grid-column: span 4; height: 220px; }

.gp1 { background: #003320; }
.gp2 { background: #005432; }
.gp3 { background: #006747; }
.gp4 { background: #004030; }
.gp5 { background: #002a1a; }
.gp6 { background: #004d36; }
.gp7 { background: #003d28; }

.gallery-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* ── FOOTER ── */
footer {
    background: var(--dark);
    padding: 48px 8vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(207,196,147,0.15);
}

.footer-left {
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    color: var(--cream);
}

.footer-right {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    line-height: 1.7;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    section { padding: 72px 6vw; }
    .hero { padding: 80px 6vw 80px 6vw; }
    .hero-deco-ring { display: none; }
    .about-layout { grid-template-columns: 1fr; }
    .about-photo-col { position: static; }
    .about-photo { aspect-ratio: 16 / 9; }
    .about-grid { grid-template-columns: 1fr; }
    .reflect-grid { grid-template-columns: 1fr; }
    .takeaways-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gi-1, .gi-2, .gi-3, .gi-4, .gi-5, .gi-6, .gi-7 {
        grid-column: span 1;
        height: 180px;
    }
    footer { flex-direction: column; text-align: center; }
    .footer-right { text-align: center; }
}
/* ── SLIDING WINDOW HOVER-EXPAND GALLERY ── */
.hg-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hg-stage {
    flex: 1;
    height: 420px;
    overflow: hidden;
    position: relative;
}

.hg-row {
    display: flex;
    gap: 8px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    align-items: stretch;
}

.hg-item {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #0000000F;
    transition: flex-grow 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hg-item img {
    height: 100%;
    width: auto;
    display: block;
    pointer-events: none;
    border-radius: 12px;
}

.hg-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-warm);
    color: var(--forest);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hg-arrow:hover {
    background: var(--forest);
    color: var(--usf-yellow);
    border-color: var(--forest);
}



/* 2. Slider / Progress Bar Styles */
.hg-progress-container {
    margin-top: 24px;
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hg-slider {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.hg-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 60px;
    height: 4px;
    background: var(--forest);
    border-radius: 2px;
    transition: background 0.2s;
}

.hg-slider::-webkit-slider-thumb:hover {
    background: var(--gold);
}

.hg-counter {
    font-size: 12px;
    font-family: var(--sans);
    color: var(--text-muted);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hg-stage { height: 240px; }
    .hg-arrow { width: 36px; height: 36px; font-size: 14px; }
}