/* Kakaraya's existing field-guide palette and typography. */
:root { --explore-forest: #141c0e; --explore-paper: #f0eedd; --explore-rust: #a6432a; --explore-khaki: #cbbf97; }
.site-nav { display: none; align-items: center; gap: 1.1rem; font: 500 12px 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .04em; color: var(--explore-khaki); }
.site-nav a:hover, .site-nav summary:hover, .site-nav [aria-current] { color: #c9832e; }
.nav-group { position: relative; }
header > div > a:last-of-type { white-space: nowrap; flex-shrink: 0; }
main h2[id], main h3[id], #safari-contact-form { scroll-margin-top: 110px; }
.nav-group > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .4rem; padding: 1rem 0; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ''; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-2px); }
.nav-group[open] > summary::after { transform: rotate(225deg); }
.nav-panel { position: absolute; top: 100%; left: -1.1rem; width: 270px; padding: .65rem; background: #1c2413; border: 1px solid #cbbf9740; box-shadow: 0 18px 36px #0004; border-radius: 2px; text-transform: none; letter-spacing: 0; max-height: min(70vh, 540px); overflow-y: auto; }
.nav-panel a { display: block; padding: .65rem .8rem; line-height: 1.4; }
.nav-panel a:hover { background: #cbbf9710; }
.nav-panel .nav-all { color: #c9832e; border-top: 1px solid #cbbf9725; margin-top: .4rem; }
header a:focus-visible, header summary:focus-visible, header button:focus-visible, .explore-section a:focus-visible, .explore-section button:focus-visible, .explore-section summary:focus-visible { outline: 2px solid #c9832e; outline-offset: 5px; }
#mobile-menu.is-open { max-height: calc(100dvh - 78px) !important; opacity: 1 !important; overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav { display: flex; flex-direction: column; gap: 0; padding: 1rem 0; font: 500 13px 'IBM Plex Mono', monospace; color: var(--explore-khaki); }
.mobile-nav > a, .mobile-nav .nav-group > summary { padding: .9rem 0; border-bottom: 1px solid #cbbf9720; }
.mobile-nav .nav-panel { position: static; width: 100%; box-shadow: none; max-height: none; background: #25331c; }
.mobile-nav .nav-group > summary { justify-content: space-between; }
.mobile-nav .nav-cta { background: var(--explore-rust); color: white; text-align: center; margin-top: 1rem; padding: .9rem; }
.explore-section { padding: 5rem 1.5rem; scroll-margin-top: 100px; }
.explore-wrap { max-width: 1184px; margin: 0 auto; }
.explore-eyebrow { display: block; font: 500 11px 'IBM Plex Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--explore-rust); margin-bottom: 1rem; }
.explore-heading { font: 500 clamp(2rem, 4vw, 3rem)/1.12 'Fraunces', serif; margin: 0 0 1.25rem; }
.explore-intro { color: #5b5340; max-width: 700px; line-height: 1.8; margin-bottom: 2rem; }
.explore-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.explore-card { background: #fff; border: 1px solid #221f1926; border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.explore-card[hidden] { display: none; }
.explore-card > img { width: 100%; height: 205px; object-fit: cover; }
.explore-card-body { padding: 1.5rem; display: flex; flex: 1; flex-direction: column; }
.explore-meta { color: #59683a; font: 500 10px 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .1em; line-height: 1.8; margin-bottom: .8rem; }
.explore-card h3, .explore-card h2 { font: 500 1.55rem/1.2 'Fraunces', serif; margin-bottom: .85rem; }
.explore-card p { font-size: 14px; line-height: 1.75; color: #5b5340; margin-bottom: 1rem; }
.explore-route { font-size: 12px !important; padding: .75rem 0; border-block: 1px solid #221f191a; }
.explore-link { display: inline-block; color: var(--explore-rust); font-size: 13px; font-weight: 600; padding: .65rem 0; }
.explore-button { display: inline-block; background: var(--explore-rust); color: white; font-weight: 600; font-size: 14px; padding: .85rem 1.25rem; border-radius: 2px; text-align: center; }
.explore-button:hover { background: #8a3821; }
.program-details { margin: auto 0 1rem; border-block: 1px solid #221f1926; }
.program-details summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 1rem 0; color: #33452a; font: 500 11px 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .06em; list-style: none; }
.program-details summary::-webkit-details-marker { display: none; }
.program-details summary::after { content: '+'; font-size: 20px; }
.program-details[open] summary::after { content: '−'; }
.program-details ol { list-style: none; padding: 0 0 .75rem; }
.program-details li { border-left: 1px solid #cbbf97; padding: 0 0 1rem 1rem; margin-left: .25rem; font-size: 13px; color: #5b5340; line-height: 1.7; }
.program-details li strong { display: block; font-size: 11px; color: var(--explore-rust); font-family: 'IBM Plex Mono', monospace; }
.program-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 1rem; }
.program-filters button { border: 1px solid #221f1940; border-radius: 2px; padding: .65rem 1rem; font: 500 11px 'IBM Plex Mono', monospace; text-transform: uppercase; }
.program-filters button[aria-pressed='true'] { background: #25331c; border-color: #25331c; color: #f0eedd; }
.program-count { font: 11px 'IBM Plex Mono', monospace; color: #5b5340; margin-bottom: 2rem; }
.program-notice { border-left: 3px solid #a6432a; padding: 1rem 1.25rem; background: #e7e2c6; color: #5b5340; font-size: 13px; line-height: 1.8; margin: 2rem 0; }
.film-section { background: #1c2413; color: #f0eedd; }
.film-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 3rem; }
.film-section .explore-eyebrow { color: #c9832e; }
.film-section .explore-intro { color: #dcd3af; }
.film-frame { background: #080d06; border: 1px solid #cbbf9740; padding: .5rem; }
.film-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.film-frame figcaption { font: 10px 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .08em; color: #cbbf97; padding: .85rem .5rem .4rem; }
.country-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.country-card { scroll-margin-top: 100px; padding: 2rem; background: #e7e2c6; border: 1px solid #221f1926; }
.country-card h3 { font: 500 2rem 'Fraunces', serif; margin-bottom: 1rem; }
.country-card p { color: #5b5340; line-height: 1.8; font-size: 14px; margin-bottom: 1rem; }
.country-card .explore-meta { margin-bottom: .5rem; }
@media (min-width: 1024px) { .site-nav { display: flex; } .explore-section { padding: 5.5rem 3rem; } }
@media (min-width: 1024px) and (max-width: 1199px) { header > div > a:first-child .leading-none > span:last-child { display: none; } }
@media (max-width: 1023px) { .explore-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) { .explore-grid, .film-layout, .country-grid { grid-template-columns: 1fr; } .film-layout { gap: 1.5rem; } .explore-section { padding-block: 3.5rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } .marquee-track { animation: none !important; } }
