/* mimo.film — site styles. Visual design ported 1:1 from the Claude Design
   export; classes replace the runtime's style-hover attributes. */

:root {
  --ink: #F4F4F0;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: 'Figtree', 'Helvetica Neue', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: rgba(244,244,240,0.9); color: #000; }

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@keyframes mimoScroll {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 0.7; }
  100% { transform: translateY(18px); opacity: 0; }
}

/* screen-reader-only section headings (SEO heading hierarchy) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── nav ── */
.nav-link {
  font-size: 13px; letter-spacing: 0.1em; text-decoration: none;
  opacity: 0.65; text-transform: lowercase; transition: opacity 0.3s;
}
.nav-link:hover { opacity: 1; }
.lang-link {
  background: none; border: none; padding: 2px 0; color: var(--ink);
  font-family: inherit; font-size: 12px; letter-spacing: 0.12em;
  cursor: pointer; text-decoration: none;
}
.lang-link[aria-current="true"] { opacity: 1; }
.lang-link:not([aria-current="true"]) { opacity: 0.4; }
.lang-link:not([aria-current="true"]):hover { opacity: 0.75; }
@media (max-width: 719px) {
  .nav-links { display: none !important; }
}

/* ── shared bits ── */
.section-label {
  margin: 0 0 36px 0; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase; color: rgba(244,244,240,0.4);
}
.mono-link {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-decoration: none; padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.kork-link { color: rgba(178,188,172,0.75); border-bottom: 1px solid rgba(178,188,172,0.3); }
.kork-link:hover { color: rgba(178,188,172,1); border-color: rgba(178,188,172,0.7); }
.contact-soc { text-decoration: none; color: rgba(244,244,240,0.55); transition: color 0.3s; }
.contact-soc:hover { color: rgba(244,244,240,0.95); }
.email-link {
  margin-top: 16px; font-size: clamp(22px, 3.2vw, 32px); font-weight: 300;
  letter-spacing: 0.02em; text-decoration: none;
  border-bottom: 1px solid rgba(244,244,240,0.3); padding-bottom: 4px;
  transition: border-color 0.3s;
}
.email-link:hover { border-color: rgba(244,244,240,0.9); }

/* ── video facades (YouTube iframes load only on click) ── */
.video-frame {
  border: 1px solid rgba(244,244,240,0.14); background: #000;
  transition: border-color 0.35s;
}
.video-frame:hover { border-color: rgba(244,244,240,0.45); }
.yt-facade {
  position: relative; display: block; width: 100%; height: 100%;
  padding: 0; margin: 0; border: 0; background: #000; cursor: pointer;
  overflow: hidden;
}
.yt-facade img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85; transition: opacity 0.35s;
}
.yt-facade:hover img { opacity: 1; }
.yt-facade .play-badge {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px;
  margin: -26px 0 0 -26px; border: 1px solid rgba(244,244,240,0.7);
  border-radius: 50%; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s; pointer-events: none;
}
.yt-facade:hover .play-badge { background: rgba(0,0,0,0.7); border-color: rgba(244,244,240,1); }
.yt-facade .play-badge svg { display: block; margin-left: 3px; }
.yt-facade iframe, .video-frame iframe {
  display: block; width: 100%; height: 100%; border: 0; background: #000;
}

/* ── Last Fare production notes (collapsible) ── */
.notes-clip { position: relative; overflow: hidden; max-height: 170px; transition: max-height 0.6s ease; }
.notes-clip.open { max-height: 4000px; }
.notes-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), #000000); pointer-events: none;
}
.notes-clip.open .notes-fade { display: none; }
.notes-toggle {
  margin-top: 18px; background: none; border: none; padding: 0 0 3px 0;
  cursor: pointer; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244,244,240,0.6);
  border-bottom: 1px solid rgba(244,244,240,0.25);
  transition: color 0.3s, border-color 0.3s;
}
.notes-toggle:hover { color: rgba(244,244,240,0.95); border-color: rgba(244,244,240,0.6); }

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