/* micavoss.com - the channel's look: near-black, deep charcoal, one acid lime, smoke and glow. Self-hosted fonts,
   no third-party requests. */
@font-face { font-family: "Oswald"; src: url("/assets/fonts/Oswald.ttf") format("truetype"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans.ttf") format("truetype"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --bg: #0a0d10;
  --bg2: #11151a;
  --panel: #161b22;
  --panel2: #1b2129;
  --border: #262c35;
  --lime: #c8f542;
  --lime-dim: #8da92e;
  --lime-glow: rgba(200, 245, 66, 0.35);
  --text: #e6edf3;
  --muted: #8b949e;
  --faint: #5b636d;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--bg); }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; position: relative; z-index: 2; }

/* ---- buttons, labels -------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--lime); color: var(--bg);
  font: 700 15px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; border: 2px solid var(--lime); cursor: pointer;
  box-shadow: 0 0 28px var(--lime-glow); transition: transform .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 44px var(--lime-glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(230, 237, 243, .35); box-shadow: none; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); box-shadow: none; }
.btn-small { padding: 8px 16px; font-size: 13px; }
.label { font: 500 13px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); margin: 0 0 18px; }
.label::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--lime); vertical-align: middle; margin-right: 12px; }
.badge { display: inline-block; font: 700 .42em/1 var(--sans); letter-spacing: .1em; color: var(--bg); background: var(--lime); padding: .45em .8em;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 88% 100%, 0 100%); vertical-align: middle; margin-right: .4em; transform: translateY(-.2em); }
h2 { font: 600 clamp(32px, 4.4vw, 56px)/1.08 var(--display); letter-spacing: .01em; text-transform: uppercase; margin: 0 0 24px; }
h2 em { font-style: normal; color: var(--lime); text-shadow: 0 0 24px var(--lime-glow); }
.glow { text-shadow: 0 0 18px var(--lime-glow), 0 0 60px rgba(200, 245, 66, .18); }

/* ---- nav -------------------------------------------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px, 4vw, 48px);
  transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10, 13, 16, .82); backdrop-filter: blur(12px); padding-top: 10px; padding-bottom: 10px; border-color: var(--border); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 600 20px/1 var(--display); letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav-links a:not(.btn) { text-decoration: none; font: 500 14px/1 var(--sans); color: var(--muted); letter-spacing: .04em; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--lime); }
.icon-link { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; }
.icon-link svg { width: 15px; height: 15px; fill: var(--text); }
.icon-link:hover { border-color: var(--lime); }
.icon-link:hover svg { fill: var(--lime); }

/* ---- hero: layered parallax ------------------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: #050607; }
.hero > * { position: absolute; }
/* the banner image carries a lighter band between about 15% and 84% of its height; the layers are sized so that band
   fills the hero and its hard edges stay outside it (both layers share size and position, so the figure stays in register) */
.hero-bg { inset: -8% -2%; background: #050607 url("/assets/img/hero-plate.webp") 62% 50% / auto 142% no-repeat; will-change: transform; }
.hero-figure { inset: -8% -2%; background: url("/assets/img/hero-figure.webp") 62% 50% / auto 142% no-repeat; will-change: transform; pointer-events: none; }
.hero.flat .hero-bg { background-image: url("/assets/img/hero.webp"); }
.hero.flat .hero-figure { display: none; }
.rain { inset: 0; width: 100%; height: 100%; opacity: .5; mix-blend-mode: screen; }
.sparks { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.smoke { inset: -10%; pointer-events: none; mix-blend-mode: screen; }
.smoke span { position: absolute; width: 60vmax; height: 40vmax; border-radius: 50%; filter: blur(60px); opacity: .22;
  background: radial-gradient(closest-side, rgba(200, 245, 66, .55), rgba(200, 245, 66, 0)); animation: drift 26s ease-in-out infinite alternate; }
.smoke span:nth-child(1) { left: 40%; top: 20%; }
.smoke span:nth-child(2) { left: 5%; top: 55%; opacity: .12; animation-duration: 34s; animation-delay: -8s; }
.smoke span:nth-child(3) { left: 60%; top: 60%; opacity: .16; animation-duration: 30s; animation-delay: -15s; }
.smoke span:nth-child(4) { left: 20%; top: -5%; opacity: .1; animation-duration: 40s; animation-delay: -4s; }
@keyframes drift { from { transform: translate3d(-4%, 2%, 0) scale(1); } to { transform: translate3d(5%, -3%, 0) scale(1.15); } }
.hero-scrim { inset: 0; background: linear-gradient(90deg, rgba(5, 6, 7, .78) 0%, rgba(5, 6, 7, .35) 42%, rgba(5, 6, 7, 0) 62%),
  linear-gradient(0deg, var(--bg) 0%, rgba(10, 13, 16, 0) 22%); pointer-events: none; }
.hero-copy { left: clamp(20px, 7vw, 120px); top: 50%; translate: 0 -50%; max-width: 640px; z-index: 5; }
.kicker { font: 600 clamp(13px, 1.3vw, 17px)/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: var(--lime); margin: 0 0 14px;
  text-shadow: 0 0 16px var(--lime-glow); }
.hero h1 { font: 700 clamp(72px, 12vw, 176px)/.9 var(--display); letter-spacing: .005em; text-transform: uppercase; margin: 0; color: #f4f8ec; }
.tagline { font: 400 clamp(15px, 1.5vw, 20px)/1.4 var(--sans); color: #b9c2cb; margin: 18px 0 34px; }
.tagline i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin: 0 .55em; vertical-align: middle; box-shadow: 0 0 8px var(--lime); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(230, 237, 243, .4); border-radius: 14px; z-index: 5; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---- sections --------------------------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.lead { color: var(--muted); font-size: 19px; margin: 0; }
.traces { position: absolute; left: 0; top: 0; width: 100%; height: 120px; fill: none; stroke: var(--lime); stroke-width: 1.5; opacity: .45; }
.traces path { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.6s ease-out; }
.traces circle { fill: var(--lime); stroke: none; opacity: 0; transition: opacity .6s 1.6s; }
.traces.in path { stroke-dashoffset: 0; }
.traces.in circle { opacity: 1; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* about */
.about { background: radial-gradient(60% 50% at 20% 50%, rgba(200, 245, 66, .06), transparent 70%), var(--bg); }
.about-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.portrait { margin: 0; position: relative; aspect-ratio: 720 / 880; border-radius: 22px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(200, 245, 66, .12), 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(200, 245, 66, .08); }
.portrait-img { position: absolute; inset: -6% 0; background: url("/assets/img/mica-portrait.webp") 50% 30% / cover no-repeat; }
.portrait figcaption { position: absolute; left: 18px; bottom: 16px; font: 500 12px/1 var(--mono); letter-spacing: .24em; color: var(--lime);
  background: rgba(10, 13, 16, .7); padding: 8px 10px; border-radius: 6px; }
.about-copy p { color: #c3cbd3; }
.rules { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.rules li { display: flex; gap: 16px; align-items: baseline; padding: 16px 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; color: var(--text); font-size: 16px; }
.rules span { font: 500 13px/1 var(--mono); color: var(--lime); }

/* series: posters */
.series { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); }
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.poster { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--panel); transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.poster:hover { border-color: var(--lime-dim); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(200, 245, 66, .14); }
.poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* videos slider */
.videos { margin-top: 70px; }
.videos[hidden] { display: none; }
.videos-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.videos-head h3 { font: 600 28px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--panel); color: var(--text); font-size: 18px; cursor: pointer; }
.slider-nav button:hover { border-color: var(--lime); color: var(--lime); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px;
  scrollbar-width: thin; scrollbar-color: var(--lime-dim) transparent; }
.video { scroll-snap-align: start; text-decoration: none; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: border-color .2s, transform .2s; }
.video:hover { border-color: var(--lime-dim); transform: translateY(-3px); }
.video figure { margin: 0; position: relative; aspect-ratio: 16 / 9; background: var(--bg2); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video figure::after { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; translate: -50% -50%; border-radius: 50%;
  background: rgba(10, 13, 16, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c8f542' d='M9 7.5v9l7.5-4.5z'/%3E%3C/svg%3E") 55% 50% / 30px no-repeat;
  border: 1px solid rgba(200, 245, 66, .5); opacity: .9; }
.video p { margin: 0; padding: 14px 16px 4px; font-weight: 600; font-size: 16px; line-height: 1.35; }
.video time { display: block; padding: 0 16px 16px; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .08em; }
.soon { position: absolute; left: 12px; top: 12px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bg); background: var(--lime); padding: 6px 8px; border-radius: 4px; }

/* projects: band background */
.projects { overflow: hidden; }
.band { position: absolute; inset: -20% 0; background: url("/assets/img/band.webp") 60% 50% / cover no-repeat; will-change: transform; }
.band-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg2) 0%, rgba(10, 13, 16, .74) 25%, rgba(10, 13, 16, .8) 75%, var(--bg) 100%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; padding: 30px 28px 26px; border-radius: 18px;
  background: rgba(22, 27, 34, .78); backdrop-filter: blur(10px); border: 1px solid var(--border); transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-color: var(--lime); transform: translateY(-4px); box-shadow: 0 0 46px rgba(200, 245, 66, .14); }
.card-label { font: 500 12px/1 var(--mono); color: var(--lime); letter-spacing: .1em; margin: 0 0 18px; }
.card h3 { font: 600 30px/1.05 var(--display); text-transform: uppercase; margin: 0 0 14px; }
.card p { color: #c3cbd3; margin: 0 0 22px; font-size: 16px; }
.go { margin-top: auto; font: 600 14px/1 var(--sans); color: var(--lime); }
.go b { display: inline-block; transition: transform .2s; }
.card:hover .go b { transform: translateX(6px); }

/* contact */
.contact { background: radial-gradient(50% 60% at 85% 40%, rgba(200, 245, 66, .07), transparent 70%), var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact-copy p { color: #c3cbd3; }
.fine { font-size: 14px; color: var(--muted) !important; }
.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; font: 500 14px/1 var(--sans); }
.socials a:hover { border-color: var(--lime); color: var(--lime); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.form { display: grid; gap: 18px; padding: 34px; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.form label { display: grid; gap: 8px; font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { width: 100%; padding: 14px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; color: var(--text);
  font: 400 16px/1.5 var(--sans); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200, 245, 66, .15); }
.form textarea { resize: vertical; min-height: 150px; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: 15px; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #e08585; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 34px 0; background: #07090b; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--lime); }

/* ---- small screens ---------------------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-links a:not(.btn):not(.icon-link) { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .posters, .cards { grid-template-columns: 1fr 1fr; }
  .track { grid-auto-columns: 78%; }
  .hero-bg, .hero-figure { background-position: 66% 50%; }
  .hero-scrim { background: linear-gradient(90deg, rgba(5, 6, 7, .85) 0%, rgba(5, 6, 7, .55) 60%, rgba(5, 6, 7, .2) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 13, 16, 0) 22%); }
}
@media (max-width: 600px) {
  .posters, .cards { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .form { padding: 22px; }
  .hero-copy { top: auto; bottom: 110px; translate: 0 0; }
  .hero-bg, .hero-figure { background-size: auto 78%; background-position: 77% 0%; }
  .hero-scrim { background: linear-gradient(180deg, #050607 0%, rgba(5, 6, 7, 0) 16%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 13, 16, .6) 38%, rgba(10, 13, 16, 0) 55%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .smoke span, .scroll-cue span { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .traces path { stroke-dashoffset: 0; transition: none; }
  .traces circle { opacity: 1; transition: none; }
}
