/* The Musical Zoo – colours taken from the logo: lime, sun yellow, pink, peacock, zebra ink */

@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --paper: #fff6e5;
  --paper-2: #ffeccc;
  --ink: #1f1a17;
  --ink-soft: #4a423c;
  --lime: #a4cc3c;
  --lime-deep: #5f8a14;
  --sun: #ffd23f;
  --pink: #e4127c;
  --pink-deep: #b50d62;
  --sky: #7cc8ef;
  --peacock: #1f7a6b;
  --white: #fff;
  --radius: 22px;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 800; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px dashed var(--pink); outline-offset: 3px; }
.center { text-align: center; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font: 600 1.1rem/1 var(--display);
  padding: .85em 1.4em;
  border: var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn.big { font-size: clamp(1rem, 3.6vw, 1.3rem); overflow-wrap: anywhere; }

/* ---- header ---- */
.topnote { background: var(--ink); color: var(--sun); text-align: center; font-weight: 800; padding: 8px 16px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.3rem/1 var(--display); }
.brand img { width: 52px; height: 52px; border: var(--line); border-radius: 14px; background: var(--white); transform: rotate(-4deg); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; font: 600 1.05rem/1 var(--display); padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: var(--sun); }
.nav .nav-cta { background: var(--lime); border: var(--line); box-shadow: var(--shadow-sm); margin-left: 6px; }
.nav .nav-cta:hover { background: var(--lime); transform: translate(-1px, -1px); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    border: var(--line); border-radius: 14px; background: var(--sun); cursor: pointer; box-shadow: var(--shadow-sm);
  }
  .nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after {
    display: block; width: 22px; height: 3px; background: var(--ink); border-radius: 2px; position: relative; content: ""; transition: transform .2s;
  }
  .nav-toggle span:first-child::before { position: absolute; top: -7px; }
  .nav-toggle span:first-child::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
  .nav-toggle[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 10px);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 12px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 1.2rem; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ---- hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--ink) 14%, transparent) 1.6px, transparent 2px) 0 0 / 26px 26px,
    var(--paper);
  padding-top: clamp(32px, 6vw, 72px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-block; font: 600 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em;
  background: var(--sun); border: var(--line); border-radius: 999px; padding: 8px 14px; transform: rotate(-2deg); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; }
.hero h1::after {
  content: ""; display: block; width: 140px; height: 14px; margin-top: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 14'%3E%3Cpath d='M2 8c12-8 22 8 34 0s22-8 34 0 22 8 34 0 22-8 34 0' fill='none' stroke='%23e4127c' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-soft); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-art { position: relative; padding: 10px 10px 40px; }
.polaroid {
  margin: 0; background: var(--white); padding: 14px 14px 56px;
  border: var(--line); border-radius: 10px; box-shadow: var(--shadow);
  transform: rotate(3deg);
}
.polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 4px; border: 2px solid var(--ink); }
.hero-logo {
  position: absolute; left: -18px; bottom: 0; width: clamp(110px, 16vw, 170px);
  background: var(--white); border: var(--line); border-radius: 50%; box-shadow: var(--shadow-sm);
  transform: rotate(-8deg); padding: 6px;
}
.note { position: absolute; font: 700 2.6rem/1 var(--display); animation: float 5s ease-in-out infinite; }
.n1 { top: -6px; right: 12%; color: var(--pink); }
.n2 { top: 34%; right: -10px; color: var(--peacock); animation-delay: -1.5s; }
.n3 { top: 6%; left: -10px; color: var(--lime-deep); animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-12px) rotate(8deg); } }

.stage { position: relative; margin-top: clamp(24px, 5vw, 56px); }
.stage img { width: min(1100px, 100%); margin: 0 auto -2px; position: relative; z-index: 1; }
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--white) 14px 28px);
  border-top: var(--line);
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
}

/* ---- sections ---- */
.section { padding: clamp(56px, 9vw, 104px) 0; position: relative; }
.title { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; margin-bottom: .6em; }
.title.small { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-lime { background: var(--lime); }
.section-sun { background: var(--sun); border-block: var(--line); }
.section-pink { background: var(--pink); color: var(--white); }
.section-ink .title { color: var(--sun); }

/* events */
.events { display: grid; gap: 22px; }
.event {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 32px); align-items: start;
  background: var(--paper); color: var(--ink);
  border: var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px);
  box-shadow: 8px 8px 0 var(--lime);
}
.event-next { box-shadow: 8px 8px 0 var(--pink); }
.event-date {
  display: grid; place-items: center; width: clamp(84px, 14vw, 120px); aspect-ratio: 1;
  background: var(--sun); border: var(--line); border-radius: 18px; transform: rotate(-4deg);
  font-family: var(--display); text-align: center; line-height: 1;
}
.event-date .day { font-size: clamp(2.3rem, 6vw, 3.4rem); font-weight: 700; }
.event-date .month { font-size: 1.1rem; font-weight: 600; text-transform: uppercase; margin-top: -10px; }
.event-when { font: 600 1rem/1 var(--display); color: var(--pink); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.event h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.facts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.event-tip {
  display: inline-block; margin: 4px 0 0; background: var(--lime); border: 2px solid var(--ink);
  border-radius: 999px; padding: 6px 14px; font-weight: 800;
}
.empty { font-size: 1.2rem; max-width: 40em; }
@media (max-width: 520px) {
  .event { grid-template-columns: 1fr; }
}

/* about */
.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.bigquote {
  font: 500 clamp(1.3rem, 2.6vw, 1.75rem)/1.35 var(--display);
  border-left: 8px solid var(--pink); padding-left: 18px; margin-bottom: 1.2em;
}
.about-sun { mix-blend-mode: multiply; transform: rotate(4deg); }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about-sun { max-width: 320px; margin: 0 auto; }
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 48px; }
.card { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; transition: transform .2s; }
.card:nth-child(odd) { transform: rotate(-1.2deg); }
.card:nth-child(even) { transform: rotate(1.2deg); }
.card:hover { transform: rotate(0) translateY(-4px); }
.card h3 { font-size: 1.45rem; margin-top: 10px; }
.card p { margin: 0; }
.icon { width: 52px; height: 52px; }
.card-lime { background: var(--lime); }
.card-sun { background: var(--sun); }
.card-pink { background: var(--pink); color: var(--white); }
.card-sky { background: var(--sky); }

/* videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.video { margin: 0; }
.video-play, .video iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); background: var(--ink); overflow: hidden;
}
.video-play {
  position: relative; cursor: pointer; color: var(--paper); font: inherit;
  background:
    repeating-linear-gradient(-45deg, transparent 0 22px, rgb(255 255 255 / .05) 22px 44px),
    var(--ink);
}
.play {
  position: absolute; left: 50%; top: 45%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%; background: var(--pink); border: 3px solid var(--paper);
  transition: transform .15s;
}
.play::after {
  content: ""; position: absolute; left: 33px; top: 24px;
  border-left: 26px solid var(--white); border-top: 17px solid transparent; border-bottom: 17px solid transparent;
}
.video-play:hover .play { transform: scale(1.08); }
.video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-play:has(.video-thumb)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgb(31 26 23 / .7)); }
.video-play:hover .video-thumb { transform: scale(1.04); }
.play, .video-consent { z-index: 1; }
.video-consent { position: absolute; left: 16px; right: 16px; bottom: 14px; font-size: .85rem; opacity: .8; }
.video figcaption { font: 600 1.2rem/1.3 var(--display); margin-top: 14px; }

/* offers */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-bottom: 36px; }
.offer {
  border: var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
  background: var(--white); position: relative; overflow: hidden;
}
.offer::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; border-bottom: var(--line); }
.offer-lime::before { background: var(--lime); }
.offer-sun::before { background: var(--sun); }
.offer-pink::before { background: var(--pink); }
.offer-sky::before { background: var(--sky); }
.offer h3 { font-size: 1.6rem; margin-top: 10px; }
.offer p { margin: 0; }

/* known */
.known { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.chips-ink li { background: var(--ink); color: var(--sun); }
.languages { font: 600 clamp(1.05rem, 2.4vw, 1.35rem)/1.5 var(--display); text-align: center; margin-top: 40px; margin-bottom: 0; }
@media (max-width: 720px) { .known { grid-template-columns: 1fr; } }

/* jobs */
.jobs { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; max-width: 920px; }
.jobs-badge {
  display: grid; place-items: center; text-align: center;
  width: clamp(130px, 22vw, 190px); aspect-ratio: 1;
  font: 700 clamp(1.2rem, 2.6vw, 1.6rem)/1.1 var(--display);
  background: var(--sky); border: var(--line); border-radius: 50%; box-shadow: var(--shadow);
  transform: rotate(-10deg);
}
@media (max-width: 620px) { .jobs { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.contact .title { color: var(--white); }
.contact-lines { font-size: 1.2rem; }
.gruss { font: 500 1.2rem/1.4 var(--display); color: var(--sun); }
.contact-buttons { display: grid; gap: 16px; }
@media (max-width: 720px) { .contact { grid-template-columns: 1fr; } }

.btn-ink { background: var(--ink); color: var(--sun); }
.contact-form {
  grid-column: 1 / -1; min-width: 0;
  background: var(--paper); color: var(--ink);
  border: var(--line); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(20px, 4vw, 36px);
}
.contact-form h3 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-wide { grid-column: 1 / -1; }
.form-field { display: grid; gap: 6px; min-width: 0; }
.form-field label { font: 600 1.05rem/1.2 var(--display); }
.optional { font: 400 .9rem var(--body); color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: var(--line); border-radius: 12px; padding: 12px 14px;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%231f1a17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid var(--lime); outline-offset: 1px; }
.contact-form [aria-invalid="true"] { border-color: var(--pink-deep); background: #fff0f6; }
.field-error { margin: 0; color: var(--pink-deep); font-weight: 700; font-size: .95rem; }
.form-note { font-size: .95rem; color: var(--ink-soft); margin: 18px 0; }
.form-note a { color: var(--pink-deep); }
.form-status { border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-weight: 800; }
.form-status[data-state="ok"] { background: var(--lime); }
.form-status[data-state="err"] { background: #ffd6e7; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.contact-form .label { font: 600 1.05rem/1.2 var(--display); }
.file-drop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.file-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-drop:focus-within .file-pick { outline: 3px dashed var(--pink); outline-offset: 3px; }
.file-pick { font-size: 1rem; padding: .7em 1.2em; }
.file-hint { font-size: .92rem; color: var(--ink-soft); }
.file-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 8px 8px 14px; min-width: 0;
}
.file-list span { overflow-wrap: anywhere; font-weight: 700; }
.file-remove {
  flex: none; font: 700 .9rem var(--body); color: var(--pink-deep); background: transparent;
  border: 2px solid currentColor; border-radius: 999px; padding: 4px 12px; cursor: pointer;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 36px 0 24px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--sun); text-decoration: underline; }
.footer-love { margin: 24px auto 0; color: var(--lime); font-family: var(--display); }

/* legal pages */
.legal { padding: clamp(40px, 7vw, 80px) 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal a { color: var(--pink-deep); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
