/* =========================================================
   EMKEI — Brazilian Funk DJ & Producer
   Website by MV Studio Code — www.mvstudiocode.it
   ========================================================= */

/* ---------- Fonts (self-hosted, no Google requests) ---------- */
@font-face { font-family: "Unbounded"; font-weight: 400; font-display: swap; src: url("../assets/fonts/unbounded-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url("../assets/fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap; src: url("../assets/fonts/unbounded-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #020B06;
  --surface: #07140D;
  --surface-2: #0C2014;
  --line: #12301F;
  --line-2: #1F5134;
  --text: #F2F2EE;
  --muted: #A9C3B3;
  --soft: #D3E6DA;
  --blue: #FFDF00;        /* Brazil yellow: brand color (fills, big type) */
  --blue-text: #FFE34D;   /* yellow for small text on dark */
  --cyan: #00C853;
  --navy: #009C3B;
  --night: #002776;
  --display: "Unbounded", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --body: "Space Grotesk", system-ui, sans-serif;
  --wrap: 1360px;
  --beat: 0.923s;         /* 130 BPM, 2 beats */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--blue-text); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.accent { color: var(--blue); }
.accent-text { color: var(--blue-text); }
.h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 7vw, 96px); letter-spacing: -.04em; line-height: .9; }
.lead { margin: 0; font-size: 22px; line-height: 1.5; color: var(--soft); }
.section { padding-top: 120px; padding-bottom: 40px; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); }
.pill--blue { background: var(--blue); border-color: var(--blue); color: #04140A; font-weight: 700; }
.pill--blue:hover { color: #04140A; background: #FFE34D; }
.pill--sc { background: #FF5500; border-color: #FF5500; color: #fff; font-weight: 700; }
.pill--sc:hover { color: #fff; background: #ff6a1f; }
.pill--ghost:hover { border-color: var(--blue-text); }

/* ---------- Equalizer bars ---------- */
.eq { display: flex; align-items: flex-end; gap: 3px; }
.eq span { flex: 1; display: block; border-radius: 2px; background: var(--blue); transform-origin: bottom; }
.eq .w { background: var(--text); }
.eq.is-dim span { background: #21492F; }
.eq.is-dim span.lit { background: var(--blue); }
.eq.is-dim span.lit.alt { background: var(--cyan); }
.animate .eq span, .card:hover .eq span { animation: eq var(--beat) ease-in-out infinite; }
@keyframes eq { 0%,100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 20; background: rgba(2,11,6,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .35s ease; border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { display: inline-flex; flex-direction: column; gap: 5px; text-decoration: none; }
.logo__word { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: .8; letter-spacing: -.04em; }
.logo .eq { height: 7px; gap: 2px; }
.logo__img { display: block; height: 44px; width: auto; }
.sign__logo { display: block; width: min(100%, 760px); height: auto; }
.hero__logo { display: block; width: min(100%, 880px); height: auto; margin-left: -20px; }
.nav__links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.nav__links > a:not(.pill):not(.icon-btn) { text-decoration: none; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--muted); cursor: pointer; min-width: 44px; min-height: 36px; border-radius: 999px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.lang button[aria-pressed="true"] { background: var(--blue); color: #04140A; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--bg); min-height: 720px; padding-top: 72px; padding-bottom: 48px; }
.hero__glow { position: absolute; top: -120px; right: -280px; width: 940px; height: 940px; border-radius: 50%; background: radial-gradient(circle at center, rgba(0,156,59,.42) 0%, rgba(0,156,59,.18) 35%, rgba(0,156,59,0) 68%); pointer-events: none; z-index: -1; }
.hero__photo { position: absolute; top: -20px; right: -40px; width: min(62%, 820px); height: 760px; object-fit: cover; object-position: center 30%; z-index: -1; opacity: .92;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 55% 45%, #000 35%, rgba(0,0,0,.55) 65%, transparent 100%); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
          mask-image: radial-gradient(ellipse 50% 50% at 55% 45%, #000 35%, rgba(0,0,0,.55) 65%, transparent 100%); }
.hero__top { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; color: var(--muted); }
.live { color: var(--blue-text); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; text-shadow: 0 0 10px currentColor; } 50% { opacity: .2; text-shadow: 0 0 0 transparent; } }
.sticker { position: absolute; right: 48px; top: 150px; transform: rotate(-9deg); background: var(--blue); color: #04140A; font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; padding: 14px 22px; border-radius: 999px; border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.45); z-index: 2; }
.hero__title { margin: 12px 0 0; line-height: 0; }
.hero__tagline { margin: 20px 0 0; max-width: 560px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--soft); }
.player { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.vinyl { width: 132px; height: 132px; border-radius: 50%; border: 0; cursor: pointer; background: var(--surface); position: relative; flex: none; padding: 0; }
.vinyl__disc { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, #123020 0 2px, #04100A 2px 5px); animation: spin 6s linear infinite; animation-play-state: paused; }
.animate .vinyl__disc { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.vinyl__label { position: absolute; inset: 40px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.vinyl .i-pause { display: none; }
.animate .vinyl .i-play { display: none; }
.animate .vinyl .i-pause { display: block; }
.player__info { flex: 1 1 420px; min-width: 0; }
.player__meta { font-size: 12px; color: var(--muted); }
.player__time { color: var(--text); margin-left: 8px; }
.player__title { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: baseline; margin-top: 8px; }
.player__title strong { font-family: var(--display); font-weight: 700; font-size: 24px; }
.player__title small { font-weight: 400; font-size: 16px; color: var(--muted); margin-left: 6px; }
.player .eq { margin-top: 18px; height: 72px; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; font-family: var(--display); font-weight: 900; font-size: 40px; text-transform: uppercase; white-space: nowrap; animation: marquee 28s linear infinite; }
.marquee__track span { padding: 0 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Party ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.party__photo { position: relative; }
.party__photo img { width: 100%; max-height: 720px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 28px; transform: rotate(-2deg); border: 2px solid var(--line-2); }
.tag { position: absolute; left: -12px; bottom: 32px; background: var(--blue); color: #04140A; padding: 10px 16px; border-radius: 999px; transform: rotate(-2deg); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; }
.stats b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 48px); color: var(--blue-text); }
.stats span { display: block; margin-top: 6px; font-size: 12px; }

/* ---------- Music ---------- */
.section-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { text-decoration: none; border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: border-color .2s, background .2s; }
.card:hover { border-color: var(--blue); background: var(--surface-2); color: var(--text); }
.card__top, .card__bottom { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.15; }
.card__sub { font-size: 15px; color: var(--muted); }
.card .eq { margin-top: auto; height: 40px; }
.sc-embed { margin-top: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.sc-embed__consent { padding: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.sc-embed__consent p { margin: 0; max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.sc-embed iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ---------- Producer ---------- */
.services { border-top: 1px solid var(--line); }
.service { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.service__title { flex: 1 1 220px; font-family: var(--display); font-weight: 700; font-size: 22px; }
.service__ex { flex: 1 1 240px; font-size: 16px; color: var(--muted); }
.daw { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.daw__bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.daw__play { border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; min-height: 44px; padding: 0 18px; border-radius: 999px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.daw__play[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #04140A; }
.daw__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.seq { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.seq__row { display: flex; gap: 12px; align-items: center; }
.seq__label { width: 64px; flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--soft); }
.seq__steps { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; }
.step { height: 34px; min-width: 0; border: 0; border-radius: 6px; cursor: pointer; padding: 0; background: #0F2418; transition: transform .08s, background .08s, box-shadow .08s; }
.step.beat { background: #163522; }
.step.is-on { background: var(--blue); box-shadow: 0 0 14px rgba(255,223,0,.55); }
.seq__row:nth-child(even) .step.is-on { background: var(--cyan); box-shadow: 0 0 14px rgba(0,200,83,.55); }
.step.is-on.is-now { background: #fff; transform: scale(1.14); box-shadow: 0 0 26px rgba(255,223,0,.8); }
.daw__hint { margin-top: 20px; font-size: 12px; }

/* ---------- Dates ---------- */
.dates { margin-top: 48px; border-top: 1px solid var(--line); }
.date-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding: 28px 12px; border-bottom: 1px solid var(--line); }
.date-row:hover { background: var(--surface-2); }
.date-row__date { width: 140px; font-family: var(--mono); font-size: 16px; color: var(--blue-text); }
.date-row__club { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 28px; }
.date-row__ev { font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-text); }
.date-row--soon .date-row__ev { color: var(--muted); }
.date-row__city { flex: 0 1 200px; color: var(--muted); }

/* ---------- Bio ---------- */
.bio__photo { aspect-ratio: 4 / 5; max-height: 640px; width: 100%; object-fit: cover; border-radius: 24px; border: 1px solid var(--line-2); }
.links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Booking ---------- */
.booking { border-radius: 32px; background: var(--night); border: 1px solid var(--line-2); padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; gap: 32px; }
.booking__title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 11vw, 180px); letter-spacing: -.05em; line-height: .85; }
.booking__mail { align-self: flex-start; color: #fff; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 40px); text-underline-offset: 8px; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.sign { display: flex; justify-content: center; padding-top: 40px; padding-bottom: 56px; }
.sign__inner { display: flex; flex-direction: column; gap: 18px; width: min(100%, 760px); }
.sign__word { font-family: var(--display); font-weight: 900; font-size: clamp(72px, 13vw, 190px); line-height: .8; letter-spacing: -.05em; text-align: center; }
.sign .eq { height: 40px; gap: 4px; }
.sign__claim { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: .32em; }
.footer { border-top: 1px solid var(--line); padding-top: 36px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; font-family: var(--mono); text-transform: uppercase; }
.footer__main { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .12em; }
.footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer__social .pill { font-size: 12px; padding: 12px 18px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 11px; letter-spacing: .1em; }
.footer__legal a { color: var(--muted); text-decoration: none; }
.footer__legal a:hover { color: var(--text); }
.footer__legal span { color: var(--line-2); }
.footer__credit { font-size: 10px; letter-spacing: .12em; color: #7FA08A; }
.footer__credit a { color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 72px 32px 96px; line-height: 1.65; color: var(--soft); }
.legal h1 { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 6vw, 64px); line-height: .95; letter-spacing: -.03em; color: var(--text); margin: 24px 0 8px; }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--text); margin: 40px 0 8px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.legal .note { border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--muted); }
.legal hr { border: 0; border-top: 1px solid var(--line-2); margin: 64px 0; }


/* ---------- DJ motion: buttons pulse on the beat (130 BPM) ---------- */
.pill, .lang button, .daw__play, .icon-btn, .sc-embed .pill {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s cubic-bezier(.3,1.7,.5,1), box-shadow .3s, border-color .2s, background .2s;
}
.pill::before, .lang button::before, .daw__play::before, .icon-btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%);
  transform: translateX(-130%);
}
.pill:hover, .lang button:hover, .daw__play:hover, .icon-btn:hover {
  transform: translateY(-3px) scale(1.05); border-color: var(--blue-text);
  animation: thump .4615s ease-out infinite;          /* one pulse per beat */
}
.pill:hover::before, .lang button:hover::before, .daw__play:hover::before, .icon-btn:hover::before { animation: shine .75s ease; }
.pill:active, .lang button:active, .daw__play:active, .icon-btn:active { transform: scale(.92); transition-duration: .06s; }
.icon-btn:hover svg { animation: bop .4615s ease-in-out infinite; }
.vinyl { transition: transform .25s cubic-bezier(.3,1.7,.5,1); }
.vinyl:hover { transform: scale(1.07); }
.vinyl:active { transform: scale(.93); }
.animate .vinyl { animation: thump .4615s ease-out infinite; }
.nav__links > a:not(.pill):not(.icon-btn), .booking__mail, .player__title a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s; text-decoration: none;
}
.nav__links > a:not(.pill):not(.icon-btn):hover, .booking__mail:hover, .player__title a:hover { background-size: 100% 2px; }
.card { transition: transform .25s cubic-bezier(.3,1.6,.5,1), border-color .2s, background .2s; }
.card:hover { transform: translateY(-8px) rotate(-1deg); }
.step:hover { transform: scale(1.1); }
.step:active { transform: scale(.88); }
@keyframes thump { 0% { box-shadow: 0 0 0 0 rgba(255,223,0,.75); } 100% { box-shadow: 0 0 0 16px rgba(255,223,0,0); } }
@keyframes shine { to { transform: translateX(130%); } }
@keyframes bop { 50% { transform: scale(1.25) rotate(-8deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: 0; }
  .hero__photo { width: 100%; right: 0; height: 520px; opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 520px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(2,11,6,.5) 0%, rgba(2,11,6,0) 35%), linear-gradient(90deg, rgba(2,11,6,.3) 0%, rgba(2,11,6,0) 45%); }
  .nav { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .logo__img { height: 32px; }
  .nav__links { gap: 10px; flex-wrap: nowrap; }
  .nav__links > :not(.pill--blue):not(.menu-btn) { display: none; }
  .nav .pill--blue { padding: 9px 14px; font-size: 11px; letter-spacing: .12em; }
  .menu-btn { display: inline-flex; }
  .mmenu { display: block; }
  .hero { padding-top: 40px; }
  .hero__logo { margin-left: -8px; }
  .sticker { position: static; display: inline-block; margin-top: 20px; transform: rotate(-4deg); font-size: 13px; padding: 10px 16px; }
  .marquee__track { font-size: 28px; }
}
@media (max-width: 560px) {
  .seq__row { flex-direction: column; align-items: stretch; gap: 6px; }
  .seq__label { width: auto; }
  .seq__steps { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
  .step { height: 36px; }
  .footer__legal a, .footer__credit a { display: inline-block; padding: 10px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.booking > a.mono {
    align-self: flex-start;
}
/* ---------- Header hide on scroll + mobile menu (Brazil style) ---------- */
.header.is-hidden { transform: translateY(-100%); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #002776; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #FFDF00; transition: transform .3s ease, opacity .2s ease, background .2s; }
.menu-btn span:nth-child(2) { background: #00C853; width: 14px; margin-left: 6px; }
.header.menu-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.header.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mmenu { display: none; max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.8,.2,1); }
.header.menu-open .mmenu { max-height: 560px; }
.mmenu__inner { position: relative; background: #002776; padding: 26px 20px 24px; border-top: 4px solid #FFDF00; box-shadow: inset 0 4px 0 #009C3B, 0 24px 40px rgba(0,0,0,.45); overflow: hidden; }
.mmenu__inner::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; background: #FFDF00; opacity: .12; transform: rotate(45deg); border-radius: 18px; pointer-events: none; }
.mmenu__links { display: flex; flex-direction: column; }
.mmenu__links a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: -.02em; color: #F4F4F0; border-bottom: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateX(-16px); transition: opacity .3s ease, transform .3s ease, color .2s; }
.mmenu__links a b { font-family: var(--mono); font-size: 12px; font-weight: 700; color: #FFDF00; letter-spacing: .1em; }
.mmenu__links a:hover, .mmenu__links a:focus-visible { color: #FFDF00; }
.header.menu-open .mmenu__links a { opacity: 1; transform: none; }
.header.menu-open .mmenu__links a:nth-child(2) { transition-delay: .04s; }
.header.menu-open .mmenu__links a:nth-child(3) { transition-delay: .08s; }
.header.menu-open .mmenu__links a:nth-child(4) { transition-delay: .12s; }
.header.menu-open .mmenu__links a:nth-child(5) { transition-delay: .16s; }
.mmenu__bottom { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
.mmenu__bottom .icon-btn { border-color: rgba(255,255,255,.25); }
.mmenu__bottom .lang { border-color: rgba(255,255,255,.25); }
.mmenu__tag { margin-top: 18px; font-size: 11px; color: #00C853; }

@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .mmenu { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .mmenu, .mmenu__links a, .header { transition: none !important; }
}
