/* ==========================================================================
   Kino International — minimalist black & white
   Fonts: MessinaSans (sans) + GT-Alpina (serif, display/italic) — Yorck brand
   ========================================================================== */

/* ---- Fonts (hosted by Yorck) ---- */
@font-face {
  font-family: 'MessinaSans';
  src: url('webyorck/fonts/MessinaSans-Regular.woff2') format('woff2'),
       url('https://www.yorck.de/fonts/MessinaSansWeb-Regular.woff2') format('woff2');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'MessinaSans';
  src: url('webyorck/fonts/MessinaSans-Bold.woff2') format('woff2'),
       url('https://www.yorck.de/fonts/MessinaSansWeb-Bold.woff2') format('woff2');
  font-weight: bold; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'GT-Alpina';
  src: url('webyorck/fonts/GT-Alpina-Regular.woff2') format('woff2'),
       url('https://www.yorck.de/fonts/GT-Alpina-Standard-Light.woff2') format('woff2');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'GT-Alpina';
  src: url('webyorck/fonts/GT-Alpina-Italic.woff2') format('woff2'),
       url('https://www.yorck.de/fonts/GT-Alpina-Standard-Light-Italic.woff2') format('woff2');
  font-weight: normal; font-style: italic; font-display: swap;
}

/* ---- Tokens: black & white only ---- */
:root {
  --black: #000000;
  --white: #ffffff;
  --ink: #0a0a0a;
  --line: rgba(0,0,0,0.14);
  --line-invert: rgba(255,255,255,0.22);
  --muted: #5a5a5a;
  --muted-invert: rgba(255,255,255,0.66);

  --header-h: 68px;
  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1400px;

  --fs-eyebrow: 0.72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'MessinaSans', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
.serif { font-family: 'GT-Alpina', Georgia, serif; font-weight: 400; letter-spacing: 0; }

.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--black); color: var(--white);
  padding: .75rem 1.25rem; text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Visible keyboard focus everywhere (adapts to light/dark context) */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 1px;
}
.cta-band a:focus-visible,
.site-footer a:focus-visible,
.lightbox button:focus-visible,
.site-header:not(.is-solid) a:focus-visible,
.site-header:not(.is-solid) button:focus-visible,
.hero a:focus-visible {
  outline-color: #ffffff;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: inherit; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem;
  border: 1.5px solid var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.82rem; }
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: var(--white); color: var(--black); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--invert { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--invert:hover { background: transparent; color: var(--white); }

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  color: var(--white);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: var(--white);
  color: var(--black);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-weight: 700; font-size: 1.02rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.brand__sub {
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  margin-top: 4px; opacity: 0.7;
}
.header-nav { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.75rem); }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; letter-spacing: 0.08em; }
.lang-btn {
  background: none; border: none; color: inherit; cursor: pointer;
  font-family: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 2px; opacity: 0.5; transition: opacity .2s;
}
.lang-btn:hover { opacity: 0.85; }
.lang-btn.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang-sep { opacity: 0.4; }
.site-header .btn--primary { border-color: currentColor; }
.site-header:not(.is-solid) .btn--primary { background: transparent; color: var(--white); }
.site-header:not(.is-solid) .btn--primary:hover { background: var(--white); color: var(--black); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 26%),
    linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.12) 42%, rgba(0,0,0,0) 62%);
}
.hero__content {
  position: relative; z-index: 2;
  padding: 0 var(--pad) clamp(3.5rem, 8vh, 6rem);
  max-width: 60rem;
}
.hero__content .eyebrow { margin-bottom: 1.25rem; }
.hero__title {
  font-size: clamp(2.6rem, 8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.hero__title .serif { display: block; font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.hero__title span:not(.serif) { display: block; font-weight: 700; }
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 40rem;
  color: rgba(255,255,255,0.92);
  margin: 0 0 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero__scroll {
  position: absolute; right: var(--pad); bottom: clamp(3.5rem, 8vh, 6rem); z-index: 2;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0.7;
}

/* ---- Statement ---- */
.statement {
  padding: clamp(4.5rem, 12vh, 9rem) var(--pad);
  max-width: 72rem;
}
.statement__lead {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.12;
  font-style: italic;
  margin-bottom: 1.6rem;
  max-width: 22ch;
}
.statement__body {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: #262626;
  max-width: 46rem;
}

/* ---- Features (key images) ---- */
.features { display: flex; flex-direction: column; }
.feature {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(2rem, 5vh, 4rem) var(--pad);
  margin: 0;
  border-top: 1px solid var(--line);
}
.feature--reverse { grid-template-columns: 1fr 1.35fr; }
.feature--reverse .feature__media { order: 2; }
.feature--reverse .feature__caption { order: 1; }
.feature__media { overflow: hidden; }
.feature__media img {
  width: 100%; height: clamp(340px, 62vh, 760px); object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feature__media--tall img { height: clamp(420px, 82vh, 900px); }
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__caption { max-width: 30rem; }
.feature__no {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.feature__title {
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  font-style: italic;
  margin-bottom: 1rem;
}
.feature__caption p { font-size: 1.08rem; color: #2a2a2a; margin: 0; }

/* ---- Section head ---- */
.section-head {
  padding: clamp(4rem, 9vh, 7rem) var(--pad) clamp(1.5rem, 3vh, 2.5rem);
  border-top: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-style: italic; margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; max-width: 40rem; }

/* ---- Gallery ---- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  padding: 0 var(--pad) clamp(4rem, 9vh, 7rem);
}
.gallery__item {
  border: none; padding: 0; margin: 0; cursor: pointer; background: #000;
  overflow: hidden; grid-column: span 4; aspect-ratio: 3/2;
}
.gallery__item:nth-child(1) { grid-column: span 8; }
.gallery__item:nth-child(2) { grid-column: span 4; }
.gallery__item:nth-child(3) { grid-column: span 4; aspect-ratio: 3/4; }
.gallery__item:nth-child(4) { grid-column: span 4; aspect-ratio: 3/4; }
.gallery__item:nth-child(5) { grid-column: span 4; aspect-ratio: 3/4; }
.gallery__item:nth-child(6) { grid-column: span 5; aspect-ratio: 3/4; }
.gallery__item:nth-child(7) { grid-column: span 7; aspect-ratio: 3/2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), opacity .3s;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--black); color: var(--white);
  padding: clamp(4.5rem, 12vh, 8rem) var(--pad);
  text-align: center;
}
.cta-band__title { font-size: clamp(2.2rem, 6vw, 4.5rem); font-style: italic; margin-bottom: 2rem; }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.cta-band__link {
  color: var(--muted-invert); text-decoration: none; font-size: 0.95rem;
  border-bottom: 1px solid var(--line-invert); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.cta-band__link:hover { color: var(--white); border-color: var(--white); }

/* ---- Event / premiere venue ---- */
.events { background: var(--black); color: var(--white); padding: clamp(4.5rem, 11vh, 8rem) var(--pad); }
.events__inner { max-width: var(--maxw); margin: 0 auto; }
.events__kicker {
  font-size: var(--fs-eyebrow); letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; margin: 0 0 1.25rem;
}
.events__title {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem); font-style: italic;
  max-width: 20ch; margin: 0 0 clamp(2.5rem, 5vh, 3.5rem);
}
.events__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.events__item { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-invert); }
.events__num {
  font-family: 'MessinaSans', Helvetica, Arial, sans-serif; font-weight: 700;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.12;
}
.events__desc { color: var(--muted-invert); font-size: 0.98rem; line-height: 1.45; }
.events__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-top: clamp(2.5rem, 5vh, 3.5rem);
}
.events__lead { max-width: 42rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255,255,255,0.9); margin: 0; }
@media (max-width: 860px) { .events__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .events__grid { grid-template-columns: 1fr; } .events__foot .btn { width: 100%; } }

/* ---- About / GEO ---- */
.about { padding: clamp(4.5rem, 11vh, 8rem) var(--pad); border-top: 1px solid var(--line); }
.about__inner { max-width: 62rem; margin: 0 auto; }
.about h2 {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.about__prose p {
  font-family: 'GT-Alpina', Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.6; color: #1a1a1a;
  margin: 0 0 1.5rem;
}
.about__prose p:last-child { margin-bottom: 0; }

.faq { margin-top: 3.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 1.5rem; color: #333; max-width: 50rem; }

/* ---- Footer ---- */
.site-footer { background: var(--black); color: var(--white); padding: clamp(3rem, 7vh, 5rem) var(--pad) 2rem; }
.site-footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-invert);
}
.site-footer__brand .brand__name { display: block; margin-bottom: 0.9rem; }
.site-footer__brand address { font-style: normal; color: var(--muted-invert); margin-bottom: 0.5rem; }
.site-footer__part { font-size: 0.82rem; color: var(--muted-invert); margin: 0; }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.site-footer__nav a {
  text-decoration: none; color: var(--white); font-size: 0.95rem;
  opacity: 0.85; transition: opacity .2s; border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.site-footer__nav a:hover { opacity: 1; border-color: var(--white); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.75rem; font-size: 0.78rem; color: var(--muted-invert);
}
.site-footer__bottom p { margin: 0; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.96);
  display: flex; align-items: center; justify-content: center;
  padding: 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: none; color: var(--white);
  cursor: pointer; line-height: 1;
}
.lightbox__close { top: 3vh; right: 4vw; font-size: 2.6rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 3.4rem; padding: 0 1rem; opacity: 0.75; transition: opacity .2s; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 1vw; }
.lightbox__nav--next { right: 1vw; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature:hover .feature__media img, .gallery__item:hover img { transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .brand__sub { display: none; }
  .site-header .btn--primary { display: none; }
  .feature, .feature--reverse { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature--reverse .feature__media, .feature--reverse .feature__caption { order: initial; }
  .feature__media img, .feature__media--tall img { height: clamp(320px, 60vh, 520px); }
  .feature__caption { max-width: none; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item,
  .gallery__item:nth-child(n) { grid-column: span 1 !important; aspect-ratio: 3/2 !important; }
  .hero__scroll { display: none; }
}
@media (max-width: 520px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; }
}
