/* ==========================================================================
   Harvest Nex — Shared styles (Quiet Luxury & Editorial)
   Used together with the pre-compiled Tailwind utilities (assets/css/tailwind.css)
   ========================================================================== */

:root {
    --forest: #0B4A22;
    --deep: #07331A;
    --gold: #C5A059;
    --terra: #CC5500;
    --terra-ink: #B04A00;
    --cream: #F9F9F6;
    --surface: #F2F2EC;
    --dark: #111111;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --header-h: 84px;
    --header-h-solid: 70px;
}

html {
    scroll-padding-top: calc(var(--header-h-solid) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--cream);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-locked { overflow: hidden; }

::selection { background: var(--gold); color: var(--dark); }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 100;
    background: var(--gold);
    color: var(--dark);
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--header-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.45s var(--ease), height 0.45s var(--ease),
                box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.site-header .brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #fff;
}
/* Light logo over the dark hero and the mobile menu, full-colour logo on the white header */
.brand-logo { display: block; height: 40px; width: auto; transition: opacity 0.45s var(--ease); }
.brand-logo--dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
@media (min-width: 640px) { .brand-logo { height: 46px; } }
.footer-logo { display: block; height: 128px; width: auto; }

.site-header .nav-link {
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.3s ease;
    white-space: nowrap;
}
.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.site-header .nav-link:hover,
.site-header .nav-link[aria-current="page"] { color: var(--gold); }
.site-header .nav-link:hover::after,
.site-header .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.site-header .nav-link .chev {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 0.35rem;
    transition: transform 0.3s ease;
}
.has-dropdown:hover .nav-link .chev,
.has-dropdown:focus-within .nav-link .chev { transform: rotate(180deg); }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.lang-link {
    color: rgba(255, 255, 255, 0.6);
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}
.lang-link:hover { color: var(--gold); }
.lang-link.is-active {
    color: var(--gold);
    border-bottom: 1px solid currentColor;
    cursor: default;
}
.lang-sep { color: rgba(255, 255, 255, 0.3); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    background: #fff;
    color: var(--forest);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-cta:hover { background: var(--gold); color: #fff; }

.menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-right: -10px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: transform 0.4s var(--ease), opacity 0.3s ease, background-color 0.3s ease;
}

/* Solid (scrolled) state */
.site-header.is-solid {
    height: var(--header-h-solid);
    background: rgba(249, 249, 246, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(17, 17, 17, 0.06);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.05);
}
.site-header.is-solid .brand-logo--light { opacity: 0; }
.site-header.is-solid .brand-logo--dark { opacity: 1; }
.site-header.is-solid .nav-link { color: rgba(17, 17, 17, 0.78); }
.site-header.is-solid .nav-link:hover,
.site-header.is-solid .nav-link[aria-current="page"] { color: var(--forest); }
.site-header.is-solid .lang-link { color: rgba(17, 17, 17, 0.45); }
.site-header.is-solid .lang-link:hover { color: var(--forest); }
.site-header.is-solid .lang-link.is-active { color: var(--forest); }
.site-header.is-solid .lang-sep { color: rgba(17, 17, 17, 0.2); }
.site-header.is-solid .nav-cta { background: var(--forest); color: #fff; }
.site-header.is-solid .nav-cta:hover { background: var(--gold); color: var(--forest); }
.site-header.is-solid .menu-toggle span { background: var(--dark); }

/* Mobile menu open: header floats over the dark overlay */
body.menu-open .site-header {
    background: transparent;
    box-shadow: none;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.menu-open .site-header .brand-logo--light { opacity: 1; }
body.menu-open .site-header .brand-logo--dark { opacity: 0; }
body.menu-open .site-header .lang-link { color: rgba(255, 255, 255, 0.6); }
body.menu-open .site-header .lang-link.is-active { color: var(--gold); }
body.menu-open .site-header .lang-sep { color: rgba(255, 255, 255, 0.3); }
body.menu-open .site-header .menu-toggle span { background: #fff; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Desktop dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    padding-top: 18px;
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.35s var(--ease), visibility 0.3s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.dropdown-panel {
    width: 380px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: 0 30px 60px -20px rgba(7, 51, 26, 0.3);
    padding: 0.5rem;
}
.dropdown-panel a {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.8rem 0.9rem;
    color: var(--dark);
    transition: background-color 0.25s ease;
}
.dropdown-panel a:hover,
.dropdown-panel a:focus-visible { background: var(--surface); }
.dropdown-panel .dd-icon {
    flex: none;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--forest);
    transition: background-color 0.25s ease, color 0.25s ease;
}
.dropdown-panel a:hover .dd-icon { background: var(--forest); color: var(--gold); }
.dropdown-panel .dd-title { display: block; font-size: 0.875rem; font-weight: 600; color: var(--forest); }
.dropdown-panel .dd-desc { display: block; font-size: 0.78rem; color: rgba(17, 17, 17, 0.55); margin-top: 2px; line-height: 1.45; }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 16px) 20px 28px;
    overflow-y: auto;
    background-color: var(--deep);
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.4s;
}
body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.mobile-menu .m-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
}
.mobile-menu .m-link[aria-current="page"] { color: var(--gold); }
.mobile-menu .m-link svg { width: 18px; height: 18px; color: var(--gold); }
.mobile-menu .m-group-title {
    margin-top: 1.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}
.mobile-menu .m-sub {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
}
.mobile-menu .m-sub[aria-current="page"] { color: var(--gold); }

@media (min-width: 1024px) {
    .mobile-menu { display: none; }
}

/* --------------------------------------------------------------------------
   Reveal animations (only when JS is available)
   -------------------------------------------------------------------------- */
.js .reveal-up,
.js .reveal-left,
.js .reveal-right {
    opacity: 0;
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal-up { transform: translateY(36px); }
.js .reveal-left { transform: translateX(-36px); }
.js .reveal-right { transform: translateX(36px); }
.js .reveal-active { opacity: 1; transform: none; }

@media (max-width: 767px) {
    .js .reveal-left,
    .js .reveal-right { transform: translateY(28px); }
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terra-ink);
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    flex: none;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--plain::before { display: none; }

.h-section {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--forest);
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
}
.h-section em { font-weight: 400; color: rgba(11, 74, 34, 0.75); }

.lead {
    font-size: clamp(1.06rem, 1.5vw, 1.2rem);
    line-height: 1.75;
    font-weight: 300;
    color: rgba(17, 17, 17, 0.7);
}

.prose-hn p,
.prose-hn li {
    font-size: 1.0625rem; /* 17px — okunabilir gövde metni */
    line-height: 1.8;
    color: rgba(17, 17, 17, 0.74);
}
.prose-hn p + p { margin-top: 1.15rem; }
.prose-hn strong { color: var(--dark); font-weight: 600; }

.gold-rule { width: 64px; height: 2px; background: var(--gold); }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 52px;
    padding: 0.95rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: #fff; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--gold); color: var(--forest); }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font-weight: 500; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--terra-ink);
    transition: color 0.3s ease;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--forest); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--gold); }
.link-arrow--light:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.07);
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--forest);
    transition: background-color 0.4s ease, color 0.4s ease;
}
.card-icon svg { width: 24px; height: 24px; }
.card-num {
    position: absolute;
    top: 1.1rem;
    right: 1.4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1;
    color: rgba(17, 17, 17, 0.06);
    pointer-events: none;
    transition: color 0.4s ease;
}
@media (hover: hover) {
    .card--hover:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 50px -28px rgba(11, 74, 34, 0.35);
        border-color: rgba(197, 160, 89, 0.55);
    }
    .card--hover:hover .card-icon { background: var(--forest); color: var(--gold); }
    .card--hover:hover .card-num { color: rgba(197, 160, 89, 0.35); }
}

.list-dash li {
    position: relative;
    padding-left: 1.3rem;
}
.list-dash li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 0.6rem;
    height: 1px;
    background: var(--gold);
}

.list-check li {
    position: relative;
    padding-left: 2rem;
}
.list-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: rgba(11, 74, 34, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4A22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 60% no-repeat;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(197, 160, 89, 0.45);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Backgrounds
   -------------------------------------------------------------------------- */
.bg-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 22px 22px;
}
.bg-dots-dark {
    background-image: radial-gradient(rgba(11, 74, 34, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
}

.hero-img { will-change: transform; transform: scale(1.08); }

.scroll-cue { animation: cue 2.4s ease-in-out infinite; }
@keyframes cue {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* Image frame with offset box */
.frame { position: relative; }
.frame::after {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 66%;
    height: 66%;
    background: rgba(11, 74, 34, 0.06);
    z-index: 0;
}
@media (min-width: 1024px) {
    .frame::after { right: -32px; bottom: -32px; }
}
.frame > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Timeline / flow
   -------------------------------------------------------------------------- */
.flow { position: relative; display: grid; gap: 0; }
.flow::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 22px;
    bottom: 22px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(197, 160, 89, 0.8), rgba(197, 160, 89, 0.15));
}
.flow-step { position: relative; display: flex; gap: 1.25rem; padding: 0.9rem 0; }
.flow-dot {
    position: relative;
    z-index: 1;
    flex: none;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.6);
    background: var(--deep);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
}
.flow-step:last-child .flow-dot { background: var(--gold); color: var(--deep); }

@media (min-width: 1024px) {
    .flow { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
    .flow::before {
        left: 22px;
        right: 22px;
        top: 21px;
        bottom: auto;
        width: auto;
        height: 1px;
        background: linear-gradient(to right, rgba(197, 160, 89, 0.8), rgba(197, 160, 89, 0.25));
    }
    .flow-step { flex-direction: column; gap: 1.1rem; padding: 0; }
}

/* Process steps (TR) */
.step-num {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 1;
    color: var(--gold);
}

/* --------------------------------------------------------------------------
   FAQ accordion (details/summary)
   -------------------------------------------------------------------------- */
.faq details { border-bottom: 1px solid rgba(17, 17, 17, 0.1); }
.faq details:first-child { border-top: 1px solid rgba(17, 17, 17, 0.1); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.08rem, 1.8vw, 1.25rem);
    font-weight: 600;
    color: var(--forest);
    transition: color 0.3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--terra-ink); }
.faq .plus {
    position: relative;
    flex: none;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(11, 74, 34, 0.22);
    border-radius: 999px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.faq .plus::before,
.faq .plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1.5px;
    background: var(--forest);
    transform: translate(-50%, -50%);
    transition: transform 0.35s var(--ease), background-color 0.3s ease;
}
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { background: var(--forest); border-color: var(--forest); }
.faq details[open] .plus::before,
.faq details[open] .plus::after { background: var(--gold); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer {
    padding: 0 0 1.6rem;
    max-width: 48rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(17, 17, 17, 0.72);
}
.faq details[open] .answer { animation: fadeIn 0.45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.62);
}
.field .opt { font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: rgba(17, 17, 17, 0.45); }
.premium-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.2);
    border-radius: 0;
    padding: 0.7rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem; /* 16px: iOS'ta otomatik yakınlaştırmayı engeller */
    color: var(--dark);
    transition: border-color 0.3s ease;
}
.premium-input:focus { outline: none; border-bottom-color: var(--forest); box-shadow: 0 1px 0 0 var(--forest); }
.premium-input::placeholder { color: rgba(17, 17, 17, 0.38); font-weight: 300; }
select.premium-input {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4A22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.2rem center;
    background-size: 18px;
}
textarea.premium-input { resize: vertical; min-height: 120px; }

.form-status {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--forest);
    background: rgba(11, 74, 34, 0.06);
    color: var(--forest);
    font-size: 0.95rem;
    line-height: 1.6;
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-left-color: var(--terra); background: rgba(204, 85, 0, 0.07); color: var(--terra-ink); }

/* --------------------------------------------------------------------------
   Table of contents (Corporate profile)
   -------------------------------------------------------------------------- */
.toc a {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0 0.5rem 1rem;
    border-left: 1px solid rgba(17, 17, 17, 0.1);
    font-size: 0.875rem;
    color: rgba(17, 17, 17, 0.55);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.toc a .n { font-family: 'Playfair Display', serif; font-weight: 700; color: rgba(197, 160, 89, 0.8); }
.toc a:hover { color: var(--forest); }
.toc a.is-active { color: var(--forest); font-weight: 600; border-left-color: var(--gold); }

.toc-chips { scrollbar-width: none; }
.toc-chips::-webkit-scrollbar { display: none; }
.toc-chips a {
    flex: none;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(17, 17, 17, 0.12);
    font-size: 0.8rem;
    color: rgba(17, 17, 17, 0.7);
    white-space: nowrap;
    background: #fff;
}
.toc-chips a.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }

/* Responsive table */
.table-hn { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-hn th {
    text-align: left;
    padding: 1rem 1.25rem;
    background: var(--forest);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.table-hn td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.75);
    vertical-align: top;
}
.table-hn td:first-child { font-weight: 600; color: var(--forest); white-space: nowrap; }
.table-hn tr:nth-child(even) td { background: rgba(242, 242, 236, 0.6); }

/* Notes / disclaimers */
.note {
    display: flex;
    gap: 0.9rem;
    padding: 1.1rem 1.25rem;
    background: var(--surface);
    border-left: 3px solid var(--gold);
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.7);
}
.note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }

/* --------------------------------------------------------------------------
   AfriTrade Nex (generated pages): cards, article, figures, gallery, lightbox
   -------------------------------------------------------------------------- */
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 2px solid var(--gold); outline-offset: -2px; }
.org-card-count {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.35rem 0.7rem;
    background: rgba(7, 51, 26, 0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
}

.fact { padding-left: 1.25rem; padding-right: 1rem; border-color: rgba(17, 17, 17, 0.07); }
.fact:nth-child(odd) { border-right-width: 1px; }
.fact:nth-child(-n+2) { border-bottom-width: 1px; }
.fact:first-child, .fact:nth-child(3) { padding-left: 0; }
@media (min-width: 1024px) {
    .fact { border-bottom-width: 0 !important; border-right-width: 1px; padding-left: 2rem; }
    .fact:first-child { padding-left: 0; }
    .fact:nth-child(3) { padding-left: 2rem; }
    .fact:last-child { border-right-width: 0; }
}

.article-body { font-size: 1.05rem; line-height: 1.8; color: rgba(17, 17, 17, 0.72); }
.article-body > * + * { margin-top: 1.2rem; }
.article-body h2 {
    margin-top: 3.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
    color: var(--forest);
    scroll-margin-top: 110px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 1.1rem; background: var(--gold); }
.article-body h3 {
    margin-top: 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--forest);
}
.article-body strong { color: var(--dark); font-weight: 600; }
.article-body a { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article-body ul { padding-left: 0; list-style: none; }
.article-body ul li { position: relative; padding-left: 1.4rem; }
.article-body ul li + li { margin-top: 0.5rem; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.6rem; height: 2px; background: var(--gold); }
.article-body blockquote {
    margin: 2.25rem 0;
    padding: 0.25rem 0 0.25rem 1.5rem;
    border-left: 2px solid var(--gold);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    line-height: 1.4;
    color: var(--forest);
}

.article-figure { margin: 2.25rem 0; }
.figure-grid { display: grid; gap: 0.6rem; }
.article-figure--2 .figure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-figure--3 .figure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-figure--3 .figure-item:first-child { grid-column: 1 / -1; }
@media (min-width: 640px) {
    .article-figure--3 .figure-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .article-figure--3 .figure-item:first-child { grid-column: auto; }
}
.article-figure figcaption { margin-top: 0.75rem; font-size: 0.85rem; line-height: 1.55; color: rgba(17, 17, 17, 0.55); }

.media-tile {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--surface);
    cursor: zoom-in;
}
.media-tile[data-type="video"] { cursor: pointer; }
.media-tile img { display: block; width: 100%; height: auto; transition: transform 0.7s var(--ease), opacity 0.4s ease; }
.media-tile--crop { aspect-ratio: 4 / 3; }
.media-tile--crop img { height: 100%; object-fit: cover; }
.media-tile:hover img { transform: scale(1.04); }
.media-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.media-placeholder { display: block; aspect-ratio: 16 / 9; background: var(--deep); }
.media-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--forest);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s var(--ease), background-color 0.3s ease;
}
.media-play svg { width: 24px; height: 24px; margin-left: 3px; }
.media-tile:hover .media-play { transform: scale(1.08); background: var(--gold); }

.gallery-grid { columns: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; } }
.gallery-item { break-inside: avoid; margin: 0 0 1.25rem; }
.gallery-item figcaption { padding: 0.7rem 0.1rem 0; font-size: 0.85rem; line-height: 1.5; color: rgba(17, 17, 17, 0.6); }

.lightbox {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(8, 20, 12, 0.96);
    color: #fff;
}
.lightbox::backdrop { background: rgba(8, 20, 12, 0.96); }
.lightbox[open] { display: flex; flex-direction: column; }
.lb-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 4.5rem 1rem 1rem; }
.lb-stage img,
.lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7); }
.lb-bar { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem max(1.25rem, env(safe-area-inset-bottom)); }
.lb-caption { flex: 1; font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.lb-count { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--gold); white-space: nowrap; }
.lb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    color: #fff;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }
.lb-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.lb-nav { display: flex; gap: 0.6rem; }
body.lb-open { overflow: hidden; }
body.lb-open .float-contact { display: none; }

/* --------------------------------------------------------------------------
   Upcoming programmes: badge, poster, schedule, registration form
   -------------------------------------------------------------------------- */
.upcoming-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    background: var(--gold);
    color: var(--deep);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.upcoming-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--deep); animation: hn-pulse 1.8s ease-in-out infinite; }
@keyframes hn-pulse { 50% { opacity: 0.25; } }
.event-poster {
    position: relative;
    display: block;
    background: #fff;
    padding: 8px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
    cursor: zoom-in;
    transition: transform 0.5s var(--ease);
}
.event-poster:hover { transform: translateY(-4px); }
.event-poster img { display: block; width: 100%; height: auto; }
.event-poster:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.btn-ghost-dark { border: 1px solid rgba(17, 17, 17, 0.18); color: var(--forest); font-weight: 500; }
.btn-ghost-dark:hover { border-color: var(--forest); background: #fff; }

.schedule { display: grid; gap: 0; border-left: 2px solid rgba(197, 160, 89, 0.45); margin-left: 0.5rem; }
.schedule-item { position: relative; display: grid; grid-template-columns: 1fr; gap: 0.4rem; padding: 0 0 2rem 2rem; }
.schedule-item:last-child { padding-bottom: 0; }
.schedule-item::before { content: ""; position: absolute; left: -7px; top: 0.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px var(--cream); }
.schedule-day { display: inline-flex; align-items: baseline; gap: 0.75rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6a2c; }
.schedule-n { font-family: 'Playfair Display', serif; font-size: 1.1rem; letter-spacing: 0; color: var(--gold); }
@media (min-width: 768px) {
    .schedule-item { grid-template-columns: 13rem 1fr; gap: 2rem; }
}

.form-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.62);
}
.form-label .opt, label .opt { font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: rgba(17, 17, 17, 0.45); }
.premium-input[aria-invalid="true"] { border-bottom-color: var(--terra); box-shadow: 0 1px 0 0 var(--terra); }

/* --------------------------------------------------------------------------
   "Latest programmes" popup (English pages) — centred card on desktop,
   bottom sheet on phones
   -------------------------------------------------------------------------- */
.pp {
    width: calc(100% - 32px);
    max-width: 560px;
    max-height: 100%;
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--dark);
    overflow: visible;
}
.pp--2 { max-width: 860px; }
.pp--3 { max-width: 1040px; }
.pp::backdrop { background: rgba(5, 24, 13, 0.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.pp[open] { animation: pp-in 0.45s var(--ease) both; }
.pp[open]::backdrop { animation: pp-fade 0.45s ease both; }
.pp.is-closing { animation: pp-out 0.22s ease both; }
.pp.is-closing::backdrop { animation: pp-fade 0.22s ease reverse both; }
@keyframes pp-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes pp-out { to { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes pp-fade { from { opacity: 0; } to { opacity: 1; } }
body.pp-open { overflow: hidden; }
body.pp-open .float-contact { opacity: 0; visibility: hidden; }

.pp-box {
    position: relative;
    max-height: calc(100svh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--cream);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
}
.pp-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background-color 0.25s ease, transform 0.3s var(--ease);
}
.pp-close:hover { background: rgba(255, 255, 255, 0.24); transform: rotate(90deg); }
.pp-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pp-close svg { width: 20px; height: 20px; }

.pp-head {
    position: relative;
    padding: 2.25rem 4.5rem 2rem 2.25rem;
    background-color: var(--deep);
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    color: #fff;
}
.pp-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}
.pp-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.pp-title {
    margin-top: 0.9rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.55rem, 3.2vw, 2.25rem);
    line-height: 1.15;
}
.pp-text { margin-top: 0.8rem; max-width: 46rem; font-size: 0.98rem; font-weight: 300; line-height: 1.6; color: rgba(249, 249, 246, 0.75); }

.pp-list { display: grid; gap: 1rem; padding: 1.5rem; list-style: none; margin: 0; }
@media (min-width: 640px) {
    .pp--2 .pp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp--3 .pp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pp-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.07);
    transition: box-shadow 0.35s var(--ease), border-color 0.3s ease, transform 0.35s var(--ease);
}
.pp-item:hover { border-color: rgba(197, 160, 89, 0.6); box-shadow: 0 18px 40px -22px rgba(11, 74, 34, 0.45); transform: translateY(-2px); }
.pp-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pp-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pp-item:hover .pp-thumb img { transform: scale(1.04); }
/* Upcoming programmes use a wide banner as cover: show it whole */
.pp-item--upcoming .pp-thumb { aspect-ratio: auto; background: var(--deep); }
.pp-item--upcoming .pp-thumb img { height: auto; object-position: left center; }
.pp-body { display: flex; flex: 1; flex-direction: column; padding: 1.15rem 1.25rem 1.3rem; }
.pp-badge { align-self: flex-start; margin-bottom: 0.5rem; padding: 0.2rem 0.55rem; background: var(--forest); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pp-meta { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6a2c; }
.pp-name { margin-top: 0.45rem; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--forest); }
.pp-summary {
    margin-top: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(17, 17, 17, 0.65);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pp-cta, .pp-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--terra-ink);
}
.pp-cta { margin-top: auto; padding-top: 1rem; }
.pp-cta svg, .pp-all svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.pp-item:hover .pp-cta svg, .pp-all:hover svg { transform: translateX(4px); }
.pp-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding: 0 1.5rem 1.5rem;
}
.pp-all:hover { color: var(--forest); }
.pp-later { font-size: 0.85rem; color: rgba(17, 17, 17, 0.55); text-decoration: underline; text-underline-offset: 3px; }
.pp-later:hover { color: var(--dark); }

/* Phones: bottom sheet with compact rows */
@media (max-width: 639px) {
    .pp, .pp--2, .pp--3 { width: 100%; max-width: 100%; margin: auto 0 0; }
    .pp[open] { animation-name: pp-up; }
    .pp.is-closing { animation-name: pp-down; }
    .pp-box { max-height: 88svh; border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom); }
    .pp-box::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        z-index: 2;
        width: 40px;
        height: 4px;
        margin-left: -20px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.3);
    }
    .pp-head { padding: 1.9rem 4rem 1.4rem 1.25rem; border-radius: 16px 16px 0 0; }
    .pp-close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .pp-text { font-size: 0.9rem; }
    .pp-list { padding: 1rem; gap: 0.75rem; }
    .pp-item { flex-direction: row; }
    .pp-thumb { flex: none; width: 104px; aspect-ratio: auto; }
    .pp-item--upcoming { flex-direction: column; }
    .pp-item--upcoming .pp-thumb { width: 100%; }
    .pp-body { padding: 0.85rem 0.95rem; }
    .pp-name { font-size: 1.1rem; }
    .pp-summary { display: none; }
    .pp-cta { padding-top: 0.55rem; font-size: 0.8rem; }
    .pp-foot { padding: 0 1rem 1.1rem; }
}
@keyframes pp-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pp-down { to { transform: translateY(100%); } }

/* --------------------------------------------------------------------------
   Floating contact buttons (Instagram + WhatsApp, bottom right)
   -------------------------------------------------------------------------- */
.float-contact {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    transition: opacity 0.3s ease, visibility 0.3s;
}
body.menu-open .float-contact { opacity: 0; visibility: hidden; }
.float-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 9999px;
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(17, 17, 17, 0.45);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.float-btn svg { width: 26px; height: 26px; }
.float-btn--wa { background: #25D366; }
.float-btn--wa svg { width: 28px; height: 28px; }
.float-btn--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -8px rgba(17, 17, 17, 0.5); }
.float-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.float-tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translate(6px, -50%);
    white-space: nowrap;
    padding: 0.45rem 0.75rem;
    background: var(--dark);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s;
}
@media (hover: hover) {
    .float-btn:hover .float-tip,
    .float-btn:focus-visible .float-tip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
}
@media (max-width: 639px) {
    .float-btn { width: 50px; height: 50px; }
    .float-contact { gap: 10px; }
}
@media print { .float-contact { display: none; } }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal-up,
    .js .reveal-left,
    .js .reveal-right { opacity: 1; transform: none; transition: none; }
    .scroll-cue,
    .faq details[open] .answer { animation: none; }
    .hero-img { transform: none !important; }
    .pp[open], .pp.is-closing, .pp[open]::backdrop, .pp.is-closing::backdrop, .upcoming-badge::before { animation: none; }
}

/* Touch devices: no "sticky" hover colours after a tap */
@media (hover: none) {
    .btn-forest:hover { background: var(--forest); color: #fff; }
    .btn-gold:hover { background: var(--gold); }
}
