/* Base */
:root {
	--bg: #fffef9;
	--surface: #ffffff;
	--ink: #1c1b1a;
	--muted: #5b5a57;
	--brand: #2f8f6b;
	--brand-ink: #0f3a2a;
	--accent: #f4d35e;
	--accent-ink: #744c00;
	--border: #e8e5dc;
	--shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.05);
}

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

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 72px 0;
}
.section-alt {
	padding: 72px 0;
	background: #faf7ee;
}
.home-intro {
	padding: 24px 0 16px 0;
}
.home-intro .section-head {
	margin-bottom: 0;
}
.home-intro .section-title {
	white-space: nowrap;
	hyphens: none;
}
.section-head {
	text-align: center;
	margin-bottom: 28px;
}
.section-title {
	margin: 0 0 8px;
	font-family: "Fredoka One", "Baloo 2", system-ui, sans-serif;
	font-weight: 400;
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: 0.02em;
}
.section-lead {
	color: var(--ink);
	margin: 0;
	font-size: 18px;
}
.section-cta {
	margin-top: 24px;
	text-align: center;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	padding: 14px 0;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-mark-lg { width: 56px; height: 56px; }
.brand-text {
	font-family: "Fredoka One", "Baloo 2", system-ui, sans-serif;
	font-weight: 400;
	font-size: 24px;
	letter-spacing: .2px;
}
.brand-text small {
	font-size: 16px;
	font-weight: 600;
	margin-right: 4px;
}

.site-nav {
	display: flex;
}
.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: nowrap;
}
.nav-list a {
	color: var(--ink);
	font-weight: 500;
	padding: 8px 10px;
	border-radius: 8px;
	white-space: nowrap;
}
.nav-list a:hover {
	background: #f4f1e7;
	text-decoration: none;
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 10px;
	border-radius: 8px;
}
.nav-toggle:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}
.nav-toggle .bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ink);
	margin: 5px 0;
	border-radius: 2px;
}

/* Hero */
.hero {
	background:
		radial-gradient(1200px 300px at 50% -10%, rgba(47,143,107,0.08), transparent 60%),
		linear-gradient(180deg, #fff, #fffef9);
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 28px;
	align-items: center;
	padding: 36px 0 28px;
}
.hero-title {
	font-family: "Fredoka One", "Baloo 2", system-ui, sans-serif;
	font-weight: 400;
	font-size: 56px;
	line-height: 1.05;
	margin: 0 0 12px;
	letter-spacing: 0.02em;
}
.hero-subtitle {
	font-size: 18px;
	color: var(--ink);
	margin: 0 0 20px;
}
.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.hero-art {
	justify-self: end;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 999px;
	font-weight: 600;
	border: 1px solid transparent;
	transition: transform .05s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
	background: var(--brand);
	color: #fff;
}
.btn-primary:hover { background: #277a5c; }
.btn-secondary {
	background: var(--accent);
	color: var(--accent-ink);
}
.btn-secondary:hover { background: #f2cc45; }
.btn-ghost {
	background: transparent;
	border-color: var(--border);
	color: var(--ink);
}
.btn-ghost:hover { background: #f6f4ed; }
.btn-large {
	padding: 14px 28px;
	font-size: 18px;
}

/* Circle Landing */
.circle-hero {
	position: relative;
	padding: 0;
	background: #7bc26d;
	background-image: url("/assets/compressed_bamboo-bg.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 100vh;
}
.edge {
	position: absolute;
	left: 0;
	width: 100%;
	height: 72px;
	background-repeat: repeat-x;
	background-size: auto 100%;
	pointer-events: none;
	z-index: 2;
}
.edge--top { top: 0; background-image: url("/assets/rip-top.svg"); }
.edge--bottom { bottom: 0; background-image: url("/assets/rip-bottom.svg"); }

/* Shared bamboo background page shell */
.page-shell {
	position: relative;
	min-height: 100vh;
	background: #7bc26d;
	background-image:
		linear-gradient(to bottom, rgba(255,255,255,0.42), rgba(255,255,255,0.18)),
		url("/assets/compressed_bamboo-bg.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 0 0 72px;
}
.page-shell .edge {
	z-index: 1;
}
.page-shell .edge--bottom {
	display: none;
}
.page-shell > .container,
.page-shell > .section,
.page-shell > main,
.page-shell > div {
	position: relative;
	z-index: 2;
}
.page-shell > .section:first-of-type {
	margin-top: 72px; /* pushes content below top ripple while ripple sits at absolute top of bamboo */
}

.page-shell .section-alt {
	background: transparent;
}

/* Footer ripple at bottom of bamboo pages */
.site-footer {
	position: relative;
	z-index: 5;
}
.site-footer::before {
	content: "";
	display: block;
	height: 72px;
	background-image: url("/assets/rip-bottom.svg");
	background-repeat: repeat-x;
	background-size: auto 100%;
	margin-top: -72px;
}
.circle-stage {
	--center-y: 50%;
	--radius: calc(min(32vmin, 280px));
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	min-height: 100vh;
	display: block;
	padding: 0 16px;
}
.circle-core {
	position: absolute;
	left: 50%;
	top: var(--center-y);
	width: min(56vmin, 560px);
	height: min(56vmin, 560px);
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 10px #111 inset, 0 10px 30px rgba(0,0,0,.25);
	z-index: 1;
}
.core-art {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-52%, -48%);
	width: 78%;
	height: auto;
}
.core-art-sm {
	width: 72%;
}
.orb {
	position: absolute;
	left: 50%;
	top: var(--center-y);
	width: clamp(130px, 15.5vmin, 190px);
	height: clamp(130px, 15.5vmin, 190px);
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 50%;
	border: 1px solid rgba(27,26,25,.28);
	box-shadow: 0 8px 18px rgba(0,0,0,.22);
	display: grid;
	place-items: center;
	padding: 10px;
	text-align: center;
	color: #111;
	z-index: 3;
	cursor: pointer;
}
.orb.left {
	transform:
		translate(-50%, -50%)
		translateX(calc(-1 * var(--r, var(--radius))))
		translateY(var(--y, 0px));
}
.orb.right {
	transform:
		translate(-50%, -50%)
		translateX(var(--r, var(--radius)))
		translateY(var(--y, 0px));
}
.orb.left:hover {
	transform:
		translate(-50%, -50%)
		translateX(calc(-1 * var(--r, var(--radius))))
		translateY(var(--y, 0px)) translateY(-4px) scale(1.02);
}
.orb.right:hover {
	transform:
		translate(-50%, -50%)
		translateX(var(--r, var(--radius)))
		translateY(var(--y, 0px)) translateY(-4px) scale(1.02);
}
.orb-title {
	font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(14px, 1.9vmin, 18px);
	line-height: .9;
	display: block;
	margin: 0;
	letter-spacing: 0;
}
.orb-sub {
	font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
	font-weight: 700;
	font-size: clamp(16px, 2vmin, 20px);
	line-height: 1.05;
	display: block;
	margin: 0;
	letter-spacing: 0;
	word-break: break-word;
	white-space: normal;
}

/* Kebab menu */
.kebab {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	gap: 6px;
	align-items: center;
	background: none;
	border: 0;
	padding: 8px;
	z-index: 3;
	cursor: pointer;
}
.kebab .dot {
	display: block;
	width: 5px;
	height: 5px;
	background: #111;
	border-radius: 50%;
}
.kebab .dot + .dot { margin-left: 6px; }
.kebab-menu {
	position: absolute;
	top: 64px;
	right: 12px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 8px;
	min-width: 220px;
	opacity: 0;
	transform: translateY(-8px) scale(.98);
	transform-origin: top right;
	transition: opacity .18s ease, transform .18s ease;
	pointer-events: none;
	z-index: 3;
}
.kebab-menu.open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}
.kebab-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--ink);
}
.kebab-menu a:hover { background: #f5f2ea; text-decoration: none; }

/* Cards */
.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: var(--shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	cursor: pointer;
}
.card-flip {
	position: relative;
	perspective: 1200px;
	aspect-ratio: 3 / 4;
	margin-bottom: 8px;
}
.card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 0.5s ease;
}
.card-flip:hover .card-inner,
.card-flip:focus-within .card-inner {
	transform: rotateY(180deg);
}
.card-face {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
}
.card-face.back {
	transform: rotateY(180deg);
	background: #fff;
}
.card-media {
	width: 100%;
	height: 100%;
	aspect-ratio: 3/4;
	object-fit: cover;
	background: #f1eee4;
}
.card-face {
	overflow: hidden;
	height: 420px;
}
.card-body {
	padding: 14px;
}
.card-title {
	margin: 0 0 6px;
	font-size: 18px;
}
.card-text {
	margin: 0 0 10px;
	color: var(--ink);
}
.card-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	background: #FF9900;
	color: #ffffff;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.1s ease;
	margin-top: 12px;
}
.card-link:hover {
	background: #e68900;
	transform: translateY(-2px);
	text-decoration: none;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}
.card-link:active {
	transform: translateY(0);
}

/* Tiles / Panels / Grids */
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.tile {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--surface);
	box-shadow: var(--shadow);
}
.tile:hover { text-decoration: none; background: #fff; }
.tile-media {
	flex: 0 0 auto;
	width: 96px;
	height: 96px;
	display: grid;
	place-items: center;
	background: #f1eee4;
	border-radius: 12px;
}
.tile-title {
	margin: 0 0 4px;
}
.tile p {
	margin: 0;
	color: var(--ink);
}

.panel {
	padding: 18px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--surface);
	box-shadow: var(--shadow);
}
.panel-title { margin: 0 0 8px; }
.panel-link { font-weight: 600; }

/* Contact */
.contact-form {
	max-width: 640px;
	margin: 0 auto;
	display: grid;
	gap: 16px;
}
.contact-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.contact-form label {
	display: grid;
	gap: 6px;
	font-weight: 500;
}
.contact-form input,
.contact-form textarea {
	border-radius: 10px;
	border: 1px solid var(--border);
	padding: 10px 12px;
	font: inherit;
}
.contact-form textarea { resize: vertical; min-height: 140px; }

/* About split */
.about {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 24px;
	align-items: center;
}
.about-body p { color: var(--ink); }

.about-media img {
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.character-traits {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.trait-item {
	margin-bottom: 16px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
}

.trait-item:last-child {
	margin-bottom: 0;
}

.trait-emoji {
	font-size: 20px;
	margin-right: 8px;
	display: inline-block;
}

.trait-item strong {
	font-weight: 600;
	margin-right: 4px;
}

.about--center {
	justify-content: center;
	grid-template-columns: minmax(0, 480px);
	text-align: center;
}
.about--center .about-media {
	justify-self: center;
}
.about--center .about-body {
	text-align: left;
}

.about--authors {
	grid-template-columns: minmax(0, 520px) minmax(0, 520px);
	align-items: center;
	gap: 32px;
}
.about--authors .about-media img {
	border-radius: 24px;
	box-shadow: var(--shadow);
}
.about--authors .about-body {
	font-size: 18px;
}

/* Authors Layout */
.authors-layout {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.authors-photo {
	text-align: center;
	margin-bottom: 8px;
	margin-top: -100px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.authors-photo img {
	border-radius: 24px;
	box-shadow: var(--shadow);
	max-width: 100%;
	height: auto;
	width: 600px;
	max-width: 90%;
	display: block;
	margin: 0 auto;
}

.authors-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.author-bio {
	margin-bottom: 0;
}

.author-name {
	font-family: "Fredoka One", "Baloo 2", system-ui, sans-serif;
	font-size: 26px;
	font-weight: 400;
	color: var(--ink);
	margin-bottom: 16px;
	margin-top: 0;
	letter-spacing: 0.02em;
}

.author-bio p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	margin-bottom: 16px;
}

.author-bio p:last-child {
	margin-bottom: 0;
}

.mission-note {
	margin-top: 8px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.mission-note p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
}

.mission-note a {
	color: var(--accent);
	text-decoration: underline;
}

.mission-note a:hover {
	text-decoration: none;
}

.mission-note .unicef-link {
	color: #ffffff !important;
	background-color: #1CABE2;
	padding: 4px 8px;
	border-radius: 4px;
	text-decoration: none;
	margin-top: -2px;
	display: inline-block;
}

.mission-note .unicef-link:hover {
	color: #ffffff !important;
	background-color: #1598c4;
}

/* Creators */
.creator {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--surface);
	box-shadow: var(--shadow);
}
.creator-avatar {
	border-radius: 999px;
	background: #f1eee4;
}
.creator-name { margin: 0 0 4px; }
.creator-link { font-weight: 600; }

/* Footer */
.site-footer {
	border-top: 1px solid var(--border);
	background: #fff;
}
.footer-inner {
	padding: 24px 0 36px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}
.footer-nav .footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
}
.footer-list a { color: var(--ink); }
.copyright {
	margin: 0;
	color: var(--ink);
	font-size: 14px;
}
.footer-contact {
	margin: 0;
	color: var(--ink);
	font-size: 14px;
}
.legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 14px;
}
.legal-list a { color: var(--ink); }

/* Panda storybook modal */
.panda-modal {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.4);
}
.panda-modal[hidden] {
	display: none;
}
.panda-modal__backdrop {
	position: absolute;
	inset: 0;
}
.panda-modal__dialog {
	position: relative;
	z-index: 1;
	max-width: 960px;
	width: 100%;
	max-height: 90vh;
	background: rgba(255, 254, 249, 0.82);
	backdrop-filter: blur(12px);
	border-radius: 32px;
	box-shadow: var(--shadow);
	padding: 32px 28px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	overflow: hidden;
	animation: panda-modal-fade 220ms ease-out;
}
.panda-slide {
	display: none;
	width: 100%;
}
.panda-slide.is-active {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.panda-slide__media img {
	width: 100%;
	max-width: 260px;
	max-height: 260px;
	object-fit: cover;
	border-radius: 24px;
	box-shadow: var(--shadow);
	margin: 0 auto;
	transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}
.panda-slide__body {
	overflow-y: auto;
	padding-right: 4px;
	max-width: 520px;
	margin: 0 auto;
}
.panda-slide__body h2 {
	margin-top: 0;
	margin-bottom: 8px;
	font-family: "Fredoka One", "Baloo 2", system-ui, sans-serif;
}
.panda-slide__body p {
	margin-bottom: 10px;
	color: var(--ink);
}
.panda-slide.is-active .panda-slide__media img:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.panda-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 0;
	background: rgba(255, 255, 255, 0.85);
	color: var(--ink);
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(8px);
	z-index: 10;
}
.panda-modal__close:hover {
	background: #e74c3c;
	color: #fff;
	transform: scale(1.15) rotate(90deg);
	box-shadow: 0 4px 16px rgba(231, 76, 60, 0.4), 0 8px 24px rgba(0, 0, 0, 0.15);
}
.panda-modal__close:active {
	transform: scale(1.05) rotate(90deg);
	box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}
.panda-modal__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 0;
	background: rgba(255, 255, 255, 0.85);
	color: var(--brand);
	font-size: 24px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(8px);
	z-index: 10;
}
.panda-modal__arrow:hover:not([disabled]) {
	background: var(--brand);
	color: #fff;
	transform: translateY(-50%) scale(1.15);
	box-shadow: 0 4px 16px rgba(47, 143, 107, 0.3), 0 8px 24px rgba(0, 0, 0, 0.15);
}
.panda-modal__arrow:active:not([disabled]) {
	transform: translateY(-50%) scale(1.05);
	box-shadow: 0 2px 8px rgba(47, 143, 107, 0.25);
}
.panda-modal__arrow--prev {
	left: 10px;
}
.panda-modal__arrow--prev:hover:not([disabled]) {
	transform: translateY(-50%) translateX(-2px) scale(1.15);
}
.panda-modal__arrow--next {
	right: 10px;
}
.panda-modal__arrow--next:hover:not([disabled]) {
	transform: translateY(-50%) translateX(2px) scale(1.15);
}
.panda-modal__arrow[disabled] {
	opacity: 0.3;
	cursor: not-allowed;
	background: rgba(255, 255, 255, 0.5);
	color: rgba(0, 0, 0, 0.3);
}

@keyframes panda-modal-fade {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Responsive */
@media (max-width: 1024px) {
	.container { padding: 0 16px; }
	.section { padding: 64px 0; }
}

/* Desktop / tablet backgrounds */
@media (min-width: 721px) {
	.circle-hero {
		background-image: url("/assets/compressed_bamboo-bg.jpg");
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}

	.page-shell {
		background-image:
			linear-gradient(to bottom, rgba(255,255,255,0.42), rgba(255,255,255,0.18)),
			url("/assets/compressed_bamboo-bg.jpg");
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}
}
@media (max-width: 960px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-art { justify-self: start; }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.panda-modal__dialog {
		grid-template-columns: minmax(0, 1fr);
	}
	.panda-slide,
	.panda-slide.is-active {
		grid-template-columns: minmax(0, 1fr);
	}
	.panda-modal__arrow--prev {
		left: 6px;
	}
	.panda-modal__arrow--next {
		right: 6px;
	}
	.panda-modal__dialog {
		margin: 12px;
		max-height: calc(100vh - 24px);
		padding: 20px;
	}
	.panda-modal__close {
		top: 12px;
		right: 12px;
		width: 44px;
		height: 44px;
	}
	.about { grid-template-columns: 1fr; }
	.circle-stage { 
		min-height: 60vh;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.circle-core {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: min(65vw, 450px);
		height: min(65vw, 450px);
		margin: 0 auto;
	}
	.orb {
		display: none !important;
	}
	.authors-grid { grid-template-columns: 1fr; gap: 32px; }
	.home-intro .section-title { white-space: normal; font-size: clamp(24px, 5vw, 40px); }
}
@media (max-width: 720px) {
	.section { padding: 56px 0; }
	.section-alt { padding: 56px 0; }
	.section-title { font-size: 32px; }
	.hero-title { font-size: 40px; }
	.cards, .grid-3, .grid-2 { grid-template-columns: 1fr; }
	.btn-large { padding: 12px 24px; font-size: 16px; }
	.card-link { padding: 10px 20px; font-size: 15px; width: 100%; text-align: center; }
	
	/* Mobile image optimizations */
	.core-art, .core-art-sm {
		max-width: 100%;
		height: auto;
		object-fit: contain;
		image-rendering: -webkit-optimize-contrast;
		image-rendering: crisp-edges;
	}
	.brand-mark {
		max-width: 56px;
		max-height: 56px;
		width: auto;
		height: auto;
	}

	.nav-toggle { display: inline-block; }
	.site-nav {
		position: absolute;
		inset: 64px 16px auto 16px;
		background: #fff;
		border: 1px solid var(--border);
		border-radius: 12px;
		box-shadow: var(--shadow);
		padding: 10px;
		display: none;
	}
	.site-nav.open { display: block; }
	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}
	.nav-list a { border-radius: 8px; padding: 12px 16px; min-height: 44px; display: flex; align-items: center; }
	.btn, .card-link { min-height: 44px; }
	/* Circle hero mobile: hide orbiting circles, show only central panda */
	.circle-stage { 
		min-height: 60vh;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 40px 20px;
	}
	.circle-core { 
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: min(70vw, 400px);
		height: min(70vw, 400px);
		margin: 0 auto;
		max-width: 400px;
		max-height: 400px;
	}
	.core-art-sm {
		width: 75%;
	}
	.home-intro .section-title { white-space: normal; }
	.section-cta { margin-top: 20px; }
	.orb {
		display: none !important;
	}
	
	/* Mobile modal optimizations */
	.panda-modal__dialog {
		margin: 8px;
		max-height: calc(100vh - 16px);
		padding: 16px;
		border-radius: 20px;
	}
	.panda-modal__close {
		top: 10px;
		right: 10px;
		width: 48px;
		height: 48px;
		font-size: 26px;
	}
	.panda-modal__arrow {
		width: 48px;
		height: 48px;
		font-size: 26px;
	}
	.panda-modal__arrow--prev {
		left: 8px;
	}
	.panda-modal__arrow--next {
		right: 8px;
	}
	.panda-slide__body {
		padding: 16px 0;
	}
	.panda-slide__body h2 {
		font-size: 28px;
		margin-bottom: 16px;
	}
	.panda-slide__body p {
		font-size: 16px;
		margin-bottom: 12px;
	}
}

/* Focus visibility */
:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}


