:root {
	--cream: #fff9e3;
	--orange: #f2ba67;
	--pink: #d6286d;
	--blue: #2871d7;
	--red: #ff4342;
	--ink: #000;
	font-family: "Trebuchet MS", Arial, sans-serif;
	color: var(--ink);
	background: var(--cream);
}

* { box-sizing: border-box; }
body {
	margin: 0;
	background-color: var(--cream);
	background-image: linear-gradient(135deg, rgb(242 186 103 / 14%) 25%, transparent 25%, transparent 50%, rgb(242 186 103 / 14%) 50%, rgb(242 186 103 / 14%) 75%, transparent 75%);
	background-size: 28px 28px;
}
.app { min-height: 100vh; display: grid; grid-template-columns: 1fr 320px; }
main { position: relative; padding: clamp(2rem, 6vw, 6rem); overflow: hidden; }
main::after { position: absolute; top: 2rem; right: 4rem; color: var(--red); content: "✦"; font-size: 2.5rem; transform: rotate(15deg); }
main > * { position: relative; z-index: 1; max-width: 760px; }
main h1 { margin: 0 0 1.5rem; color: var(--pink); font-size: clamp(2.4rem, 5vw, 5rem); line-height: .95; letter-spacing: .02em; }
main h2 { margin-top: 2rem; color: var(--blue); }
main p, main li { font-size: 1.08rem; line-height: 1.65; }
main a { color: var(--pink); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.page-text { max-width: 880px; padding: clamp(1.5rem, 4vw, 3rem); border: 3px solid var(--ink); background: rgb(255 249 227 / 88%); box-shadow: 12px 12px 0 var(--blue); }
.home-kicker { margin: 0 0 .75rem; color: var(--blue); font-size: .85rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-text h1 { margin-bottom: .75rem; font-size: clamp(3.4rem, 8vw, 6.5rem); }
.home-date { display: inline-flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: .55rem .8rem; border: 3px solid var(--ink); background: var(--orange); font-weight: 800; }
.home-date span { color: var(--pink); }
.home-copy { max-width: 640px; }
.home-copy p { margin: 0 0 1rem; }
.home-copy p:first-child { font-size: clamp(1.2rem, 2.5vw, 1.55rem); font-weight: 700; line-height: 1.35; }
.home-banner { display: block; width: min(100%, 560px); height: auto; margin: 2.5rem auto 0; }
.menu { position: relative; border-left: 3px solid var(--ink); padding: 1.5rem; display: flex; flex-direction: column; background: var(--pink); box-shadow: -12px 0 0 rgb(40 113 215 / 18%); }
.menu::before { position: absolute; right: 1.2rem; bottom: 7rem; color: var(--orange); content: "✶"; font-size: 4rem; transform: rotate(-18deg); }
.top-panel { display: flex; align-items: center; gap: 1rem; min-height: 80px; }
.home-link { display: flex; align-items: center; gap: 1rem; color: var(--ink); text-decoration: none; }
.brand-block { display: flex; flex-direction: column; align-items: center; gap: .25rem; text-align: center; }
.logo { width: 56px; height: 56px; object-fit: cover; border: 3px solid var(--ink); border-radius: 50%; }
.brand { margin: 0; font-size: 1.5rem; letter-spacing: .06em; }
.language, .hamburger { margin-left: auto; border: 3px solid var(--ink); border-radius: 50%; background: var(--orange); padding: .7rem .9rem; cursor: pointer; font-size: 1.25rem; box-shadow: 3px 3px 0 var(--ink); }
.language img { display: block; width: 32px; height: 22px; object-fit: contain; }
.language:hover, .language:focus, .hamburger:hover, .hamburger:focus { background: var(--cream); transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.hamburger { display: none; margin-left: 0; font-size: 1.5rem; }
nav { margin-top: 2rem; display: grid; gap: .65rem; }
nav button { border: 3px solid transparent; border-radius: 999px; background: var(--cream); padding: .75rem 1rem; color: var(--ink); text-align: left; cursor: pointer; font: inherit; font-weight: 700; box-shadow: 3px 3px 0 var(--ink); }
nav button:hover, nav button:focus { border-color: var(--blue); background: var(--orange); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.socials { margin-top: auto; padding-top: 2rem; display: flex; justify-content: center; gap: .75rem; }
.socials a { border: 3px solid var(--ink); border-radius: 50%; color: inherit; padding: .7rem; background: var(--blue); box-shadow: 3px 3px 0 var(--ink); }
.socials img { display: block; width: 32px; height: 32px; object-fit: contain; }
.socials a:hover, .socials a:focus { background: var(--orange); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.program-timetable { max-width: 900px; }
.program-grid { display: grid; grid-template-columns: 72px 1fr 1fr; overflow: hidden; border: 3px solid var(--ink); border-radius: 14px; background: var(--cream); box-shadow: 8px 8px 0 var(--blue); }
.program-grid > header { padding: .9rem .75rem; border-bottom: 3px solid var(--ink); background: var(--orange); font-weight: 800; }
.program-grid > header:nth-child(3) { background: var(--red); }
.program-column { position: relative; height: 1440px; border-left: 3px solid var(--ink); background: repeating-linear-gradient(to bottom, transparent 0, transparent 59px, rgb(40 113 215 / 15%) 60px); }
.program-times { position: relative; height: 1440px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 59px, rgb(242 186 103 / 25%) 60px); }
.program-time { position: absolute; left: 0; width: 100%; padding: 0 .25rem; font-size: .8rem; text-align: center; transform: translateY(-50%); }
.program-event { position: absolute; left: 5px; right: 5px; padding: .5rem 2rem .5rem .5rem; overflow: hidden; border: 3px solid var(--ink); border-radius: 8px; cursor: pointer; color: var(--ink); text-align: left; }
.program-event strong, .program-event small { display: block; }
.program-event small { margin-top: .25rem; }
.program-event-language { position: absolute; right: .35rem; bottom: .25rem; }
.program-modal { position: fixed; z-index: 3; inset: 0; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgb(0 0 0 / 55%); }
.program-modal.open { display: flex; }
.program-modal-content { position: relative; width: min(500px, 100%); padding: 2rem; background: var(--cream); border: 4px solid var(--ink); border-radius: 14px; box-shadow: 10px 10px 0 var(--pink); }
.program-modal-close { position: absolute; top: .5rem; right: .5rem; border: 3px solid var(--ink); border-radius: 50%; background: var(--red); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.program-modal-language { position: absolute; right: .75rem; bottom: .75rem; }
@media (max-width: 700px) {
	.app { display: flex; flex-direction: column; }
	.menu { order: -1; }
	main { padding: 1.25rem; }
	.menu { position: relative; border: 0; padding: .75rem 1.25rem; }
	.top-panel { min-height: 72px; }
	.menu nav { display: none; }
	.menu:not(.open) .socials { display: none; }
	.menu.open { position: fixed; z-index: 2; inset: 0; background: var(--pink); padding-top: .75rem; }
	.menu.open nav { display: grid; margin-top: 1.5rem; }
	.menu.open .socials { display: flex; }
	.menu.open .hamburger { position: absolute; top: .75rem; right: 1.25rem; }
	.menu.open .language { margin-left: auto; margin-right: 3rem; }
	.hamburger { display: block; }
	main::after { top: 1rem; right: 1.5rem; font-size: 1.75rem; }
	main h1 { font-size: 3rem; }
	.page-text { padding: 1.25rem; box-shadow: 7px 7px 0 var(--blue); }
	.page-text h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
	.home-date { margin-bottom: 1.5rem; }
	.home-banner { margin-top: 2rem; }
	.program-timetable { overflow-x: auto; padding-bottom: 1rem; }
	.program-grid { min-width: 640px; }
}
