/* Gal Klein — site styles
   Palette taken from Yiddish festival posters: night navy, paper, coral, sun.
   Change colors here only. */
:root {
  --night: #141A3C;
  --night-2: #1E2652;
  --paper: #F4ECDC;
  --coral: #E9877B;
  --sun: #F5CF3A;
  --ink: #141A3C;
  --soft: #5B5F78;

  --display: "Karantina", "Heebo", sans-serif;
  --body: "Heebo", Arial, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;

  --line: 3px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--sun); color: var(--ink); padding: 8px 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.display { font-family: var(--display); font-weight: 700; font-size: clamp(3.2rem, 8vw, 5.5rem); line-height: 0.9; margin: 0 0 0.4em; letter-spacing: 0.005em; }
.display.light { color: var(--paper); }
.kicker { margin: 0 0 12px; font-weight: 700; color: var(--sun); }
.kicker.coral { color: #C4574A; }
.he-soft { color: #C4574A; }

/* Buttons: poster tickets */
.btn { display: inline-block; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; padding: 12px 22px; border: var(--line); border-radius: 6px; cursor: pointer; line-height: 1.2; transition: transform .12s ease, box-shadow .12s ease; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 #00000033; }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-ghost:hover { box-shadow: 6px 6px 0 var(--coral); }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: 1px solid #ffffff1f; transition: box-shadow .2s ease; }
.bar.scrolled { box-shadow: 0 3px 0 var(--coral); }
.bar nav a[aria-current="true"]:not(.btn) { color: var(--sun); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
section[id] { scroll-margin-top: 76px; }
.bar-inner { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 2rem; text-decoration: none; line-height: 1; }
.logo [lang="he"] { color: var(--coral); margin-left: 6px; }
.bar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-weight: 500; }
.bar nav a:not(.btn) { text-decoration: none; }
.bar nav a:not(.btn):hover { color: var(--sun); }
.bar .btn { padding: 8px 16px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-name { margin: 0; font-family: var(--display); font-weight: 700; line-height: 0.8; }
.hero-name .en { display: block; font-size: clamp(6rem, 17vw, 15rem); color: var(--paper); }
.hero-name .he { display: block; font-size: clamp(4rem, 10vw, 8.5rem); color: var(--coral); text-align: left; margin-top: 0.08em; }
.triad { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border: 2px solid var(--paper); border-radius: 6px; overflow: hidden; width: fit-content; }
.triad li { padding: 10px 20px; text-align: center; border-left: 2px solid var(--paper); }
.triad li:first-child { border-left: 0; }
.triad .w-en { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.triad .w-he { display: block; font-size: 0.95rem; color: var(--sun); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-art { position: relative; }
.frame { margin: 0; background: var(--paper); padding: 14px; border-radius: 10px; box-shadow: 14px 14px 0 var(--coral); transform: rotate(1.5deg); }
.frame img { border-radius: 4px; filter: grayscale(1) contrast(1.08); aspect-ratio: 1; object-fit: cover; width: 100%; }
.sticker { position: absolute; left: -9%; bottom: -10%; width: 38%; margin: 0; background: var(--paper); border: var(--line); border-radius: 50%; overflow: hidden; aspect-ratio: 1; transform: rotate(-8deg); box-shadow: var(--pop); }
.sticker img { width: 100%; height: 100%; object-fit: cover; }
.sticker figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Marquee */
.marquee { background: var(--coral); color: var(--ink); border-top: var(--line); border-bottom: var(--line); overflow: hidden; padding: 10px 0; }
.marquee-track { display: flex; width: max-content; gap: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; white-space: nowrap; }
.marquee-track span { padding: 0 18px; }
.marquee-track .star { color: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: roll 38s linear infinite; }
  .hero-name .en, .hero-name .he, .triad, .hero-cta { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-name .he { animation-delay: .12s; }
  .triad { animation-delay: .24s; }
  .hero-cta { animation-delay: .34s; }
}
@keyframes roll { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Paper panels */
.panel { background: var(--paper); color: var(--ink); padding: clamp(56px, 8vw, 112px) 0; }
.dark { padding: clamp(56px, 8vw, 112px) 0; }

/* Players (click to load) */
.player { position: relative; aspect-ratio: 16 / 9; border: var(--line); border-radius: 10px; overflow: hidden; background: var(--ink); box-shadow: var(--pop); }
.player button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--sun); border: var(--line); display: grid; place-items: center; transition: transform .15s ease; }
.player button:hover .play, .player button:focus-visible .play { transform: scale(1.1); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.small .play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }

.featured { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(64px, 8vw, 112px); }
.featured-text p { margin: 0 0 20px; max-width: 42ch; }
.spotify { width: 100%; border: 0; border-radius: 12px; margin-top: 8px; }

.listen-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.listen-head .display { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 700; font-size: 0.95rem; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip:hover { background: var(--coral); }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 36px 28px; }
.video h3 { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; margin: 16px 0 2px; }
.video .cap { font-family: var(--type); font-style: italic; font-size: 0.95rem; color: var(--soft); margin: 0; }
.video .cap b { font-style: normal; font-weight: 400; color: #C4574A; }
.video[hidden] { display: none; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project { background: var(--night-2); border: 2px solid #ffffff26; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.project figure { margin: 0; position: relative; }
.project img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project figcaption { position: absolute; right: 10px; bottom: 8px; font-size: 0.75rem; color: #fff; background: #0008; padding: 2px 8px; border-radius: 4px; }
.project-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project h3 { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 0.95; margin: 0; }
.project .since { display: inline-block; align-self: flex-start; background: var(--coral); color: var(--ink); font-weight: 700; font-size: 0.85rem; padding: 2px 10px; border-radius: 4px; }
.project p { margin: 0; color: #D9D4E8; }
.project .links { display: flex; gap: 16px; margin-top: auto; padding-top: 8px; }
.project .links a { color: var(--sun); font-weight: 700; text-underline-offset: 4px; }

/* Bio */
.bio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote { margin: 0 0 28px; padding: 28px; background: var(--coral); border: var(--line); border-radius: 10px; box-shadow: var(--pop); }
.quote p { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.5vw, 2.6rem); line-height: 1; }
.quote cite { font-family: var(--type); font-size: 0.95rem; }
.bio-photo { margin: 0 0 32px; border: var(--line); border-radius: 10px; overflow: hidden; }
.bio-photo img { filter: grayscale(1); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
.bio-text p { margin: 0 0 1.1em; max-width: 64ch; font-size: 1.125rem; }
.bio-text .signoff { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; }

/* Shows: a festival program */
.show { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 20px 28px; align-items: center; padding: 18px; background: var(--paper); color: var(--ink); border: var(--line); border-radius: 10px; margin-bottom: 16px; }
.show-date { background: var(--coral); border: var(--line); border-radius: 6px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; padding: 10px 0 6px; }
.show h3 { margin: 0; font-family: var(--display); font-size: 2rem; line-height: 1; }
.show p { margin: 2px 0 0; color: var(--soft); }
.empty { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--paper); color: var(--ink); border: var(--line); border-radius: 12px; overflow: hidden; }
.empty-text { padding: clamp(24px, 4vw, 48px); }
.empty-text p { margin: 0 0 22px; font-size: 1.15rem; max-width: 46ch; }
.empty img { height: 100%; object-fit: cover; border-left: var(--line); }

/* Booking */
.book { background: var(--sun); color: var(--ink); border-top: var(--line); padding: clamp(56px, 8vw, 104px) 0; }
.book-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.book-text { max-width: 760px; flex: 1 1 auto; }
.badge { flex: none; width: clamp(96px, 13vw, 150px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: var(--line); background: #FFFFFF; box-shadow: var(--pop); }
.book-text > p { margin: 0 0 28px; font-size: 1.2rem; }
.form { display: grid; gap: 14px; max-width: 620px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 700; }
.form input, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: #FFFDF6; border: var(--line); border-radius: 6px; padding: 11px 12px; width: 100%; }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.hp { display: none; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 700; }
.direct { margin: 28px 0 0; font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.direct a { text-underline-offset: 4px; }
.arch { margin: 0; background: #FFFFFF; border: var(--line); border-bottom: 0; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; max-height: 640px; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

/* Footer */
.foot { border-top: var(--line); background: var(--night); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; font-size: 0.95rem; color: #C9C6DA; }
.foot p { margin: 0; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.social a { text-decoration: none; font-weight: 700; color: var(--paper); }
.social a:hover { color: var(--sun); }

/* Small screens */
@media (max-width: 860px) {
  .hero-inner, .featured, .bio, .empty { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 24px auto 0; width: 92%; }
  .projects { grid-template-columns: 1fr; }
  .show { grid-template-columns: 96px minmax(0, 1fr); }
  .show .btn { grid-column: 1 / -1; justify-self: start; }
  .show-date { font-size: 2rem; }
  .empty img { border-left: 0; border-top: var(--line); max-height: 260px; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .bar-inner { padding-top: 8px; padding-bottom: 8px; gap: 4px; }
  .logo { font-size: 1.6rem; }
  .bar nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; font-size: 0.95rem; padding-bottom: 2px; scrollbar-width: none; }
  .bar nav a { white-space: nowrap; }
  .bar .btn { padding: 5px 12px; margin-left: auto; }
  section[id] { scroll-margin-top: 96px; }
  .book-inner { position: relative; }
  .book-inner .badge { position: absolute; right: clamp(16px, 4vw, 48px); bottom: 0; width: 88px; }
  .direct { padding-right: 104px; }
}

/* Bandsintown */
.show-artist { display: inline-block; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 0.8rem; padding: 1px 8px; border-radius: 4px; margin-bottom: 6px; }
.follow { margin: 20px 0 0; color: #C9C6DA; }
.follow a { color: var(--sun); font-weight: 700; }
.bit-tabs { margin-bottom: 16px; }
.chip-light { border-color: var(--paper); color: var(--paper); }
.chip-light[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.chip-light:hover { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.bit-box { background: var(--paper); color: var(--ink); border: var(--line); border-radius: 12px; padding: clamp(12px, 3vw, 28px); box-shadow: 6px 6px 0 var(--coral); }
.bit-pane[hidden] { display: none; }
.bit-cta { margin-top: 28px; }

/* Instagram */
.insta { border-top: var(--line); }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: start; }
.insta-grid .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
section[hidden] { display: none; }
