/* =========================================================
   Our Small Adventure — brand styles (homepage)
   Ported from the approved mockup. Scoped with .osa- prefixes
   so it never collides with Kadence parent styles.
   ========================================================= */

:root {
	--osa-ink: #141414;          /* brand black */
	--osa-bg: #fcfcf6;           /* near-white, faint warm */
	--osa-card: #ffffff;
	--osa-yellow: #e9f12e;       /* brand electric yellow */
	--osa-yellow-soft: #f4f7c2;  /* tint for backgrounds */
	--osa-muted: #6f6f66;
	--osa-line: #e8e8df;
	--osa-maxw: 1180px;
}

/* ---- Base (homepage only; scoped to #osa-main + chrome) ---- */
body.home,
body.page-template-front-page {
	background: var(--osa-bg);
	color: var(--osa-ink);
	font-family: 'Inter', system-ui, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

#osa-main h1,
#osa-main h2,
#osa-main h3,
.osa-nav h1,
.osa-band h2 {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.015em;
}

#osa-main a { color: inherit; text-decoration: none; }
#osa-main img { display: block; width: 100%; height: 100%; object-fit: cover; }

.osa-wrap { max-width: var(--osa-maxw); margin: 0 auto; padding: 0 24px; }

/* ---- NAV ---- */
.osa-nav {
	position: sticky; top: 0; z-index: 50;
	background: rgba(252, 252, 246, .9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 2px solid var(--osa-ink);
}
.osa-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.osa-logo { display: inline-flex; align-items: center; }
.osa-logo img { display: block; height: 52px; width: auto; }
.osa-menu { display: flex; gap: 26px; font-size: .86rem; font-weight: 600; flex-wrap: wrap; }
.osa-menu a { color: var(--osa-ink); padding-bottom: 3px; border-bottom: 2px solid transparent; transition: border-color .15s; }
.osa-menu a:hover { border-color: var(--osa-yellow); }

/* language switcher — works with Polylang <ul> or the fallback <a> tags */
.osa-lang { display: flex; gap: 4px; font-size: .78rem; font-weight: 700; align-items: center; list-style: none; margin: 0; padding: 0; }
.osa-lang li { list-style: none; }
.osa-lang a { padding: 5px 9px; border-radius: 6px; color: var(--osa-muted); text-decoration: none; text-transform: uppercase; }
.osa-lang .current-lang a,
.osa-lang a.on { background: var(--osa-ink); color: var(--osa-yellow); }
.osa-menu-btn { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--osa-ink); }

/* ---- HERO ---- */
.osa-hero { position: relative; height: min(82vh, 640px); overflow: hidden; }
.osa-hero > img { position: absolute; inset: 0; filter: saturate(1.05); }
.osa-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,.05) 0%, rgba(15,15,15,.18) 40%, rgba(15,15,15,.74) 100%); }
.osa-hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 0 56px; color: #fff; }
.osa-kicker {
	display: inline-block; font-family: 'Poppins', sans-serif; font-size: .72rem;
	letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
	background: var(--osa-yellow); color: var(--osa-ink);
	padding: 7px 14px; border-radius: 50px; margin-bottom: 16px;
}
.osa-hero-content h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); color: #fff; max-width: 16ch; margin-bottom: 14px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.osa-hero-content h1 a { color: #fff; }
.osa-meta { font-size: .9rem; opacity: .92; display: flex; gap: 14px; align-items: center; }
.osa-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--osa-yellow); }

/* ---- SECTION HEADING ---- */
.osa-sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 64px 0 28px; gap: 20px; }
.osa-sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); position: relative; padding-bottom: 8px; }
.osa-sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 5px; background: var(--osa-yellow); border-radius: 3px; }
.osa-sec-head p { color: var(--osa-muted); font-size: .95rem; max-width: 42ch; }
.osa-see-all { font-size: .84rem; font-weight: 700; color: var(--osa-ink); white-space: nowrap; background: var(--osa-yellow); padding: 8px 14px; border-radius: 50px; }

/* ---- CARD GRID ---- */
.osa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.osa-card { background: var(--osa-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--osa-line); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.osa-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(20,20,20,.4); }
.osa-ph { aspect-ratio: 3 / 2; overflow: hidden; display: block; }
.osa-ph img { transition: transform .5s; }
.osa-card:hover .osa-ph img { transform: scale(1.06); }
.osa-card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.osa-tag { display: inline-block; width: -moz-fit-content; width: fit-content; font-family: 'Poppins', sans-serif; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--osa-ink); background: var(--osa-yellow-soft); padding: 4px 9px; border-radius: 5px; margin-bottom: 12px; }
.osa-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.osa-card p { font-size: .9rem; color: var(--osa-muted); margin-bottom: 16px; flex: 1; }
.osa-date { font-size: .78rem; color: var(--osa-muted); font-weight: 600; }

/* ---- FEATURE ROW ---- */
.osa-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.osa-feature .osa-ph { aspect-ratio: 16 / 10; }
.osa-feature .osa-card h3 { font-size: 1.5rem; }

/* ---- MAP BAND ---- */
.osa-band { margin: 80px 0 0; background: var(--osa-yellow); color: var(--osa-ink); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; }
.osa-band-txt { padding: 48px; }
.osa-kicker2 { font-family: 'Poppins', sans-serif; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; display: block; }
.osa-band h2 { font-size: 2.1rem; margin-bottom: 14px; }
.osa-band p { margin-bottom: 24px; font-size: .98rem; max-width: 38ch; }
.osa-btn { display: inline-block; background: var(--osa-ink); color: var(--osa-yellow); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .86rem; padding: 13px 24px; border-radius: 50px; }
.osa-map-img { position: relative; min-height: 280px; }

/* ---- FOOTER ---- */
.osa-footer { margin-top: 80px; background: var(--osa-ink); color: #fff; padding: 48px 0 40px; }
.osa-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center; }
.osa-footer .osa-logo img { height: 46px; }
.osa-footer nav { display: flex; gap: 20px; font-size: .85rem; color: #cfcfc6; flex-wrap: wrap; }
.osa-footer nav a { color: #cfcfc6; text-decoration: none; }
.osa-footer nav a:hover { color: var(--osa-yellow); }
.osa-copy { font-size: .78rem; color: #9a9a90; margin-top: 24px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 880px) {
	.osa-menu { position: absolute; top: 74px; left: 0; right: 0; background: var(--osa-bg); border-bottom: 2px solid var(--osa-ink); flex-direction: column; gap: 0; padding: 8px 24px; display: none; }
	.osa-menu.is-open { display: flex; }
	.osa-menu a { padding: 12px 0; border-bottom: 1px solid var(--osa-line); }
	.osa-menu-btn { display: block; }
	.osa-grid { grid-template-columns: 1fr 1fr; }
	.osa-band { grid-template-columns: 1fr; }
	.osa-feature { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.osa-grid { grid-template-columns: 1fr; }
	.osa-sec-head { flex-direction: column; align-items: flex-start; }
}
