/* avionetta.ai THIRD REVISION home (owner 2026-11-19) - extras on top of site.css
   (the shared Avionetta studios stylesheet copied from moviemaker.avionetta.ai).
   Page colours = MovieMaker's tokens; each product row carries its own brand. */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/spacegrotesk.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root { --display: "Bricolage Grotesque"; }
[data-theme="dark"]  { --bg:#0d0a0b;--surface:#171213;--surface2:#211a1b;--text:#f3ecea;--muted:#b3a6a3;--line:rgba(243,236,234,.11);--accent:#ff4d5e;--accentInk:#1a0a0c;--accent2:#f5c04e;--glow:rgba(255,77,94,.2); color-scheme: dark; }
[data-theme="light"] { --bg:#fcf8f7;--surface:#ffffff;--surface2:#f5ecea;--text:#1f1416;--muted:#6b5a5c;--line:rgba(31,20,22,.11);--accent:#d2263a;--accentInk:#ffffff;--accent2:#a87a0c;--glow:rgba(210,38,58,.11); color-scheme: light; }

html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---- per-product brand (the same tokens as each product's own site) ---- */
[data-theme="dark"]  .pm-mm { --pa:#ff4d5e; --pink:#1a0a0c; --pglow:rgba(255,77,94,.22); }
[data-theme="light"] .pm-mm { --pa:#d2263a; --pink:#ffffff; --pglow:rgba(210,38,58,.14); }
[data-theme="dark"]  .pm-ex { --pa:#8b7cff; --pink:#0b0b14; --pglow:rgba(139,124,255,.24); }
[data-theme="light"] .pm-ex { --pa:#5b45e0; --pink:#ffffff; --pglow:rgba(91,69,224,.15); }
[data-theme="dark"]  .pm-dm { --pa:#e6a53a; --pink:#1a1206; --pglow:rgba(230,165,58,.2); }
[data-theme="light"] .pm-dm { --pa:#a8630a; --pink:#ffffff; --pglow:rgba(168,99,10,.14); }
.pm-mm { --pfont: "Bricolage Grotesque"; }
.pm-ex { --pfont: "Space Grotesk"; }
.pm-dm { --pfont: "Fraunces"; }

/* ---- hero ---- */
.hero h1 { max-width: 15ch; }
.pick-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pick { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; font-size: 14.5px; }
.pick:hover { text-decoration: none; border-color: var(--pa); }
.pick i { width: 10px; height: 10px; border-radius: 50%; background: var(--pa); box-shadow: 0 0 0 4px var(--pglow); }
.pick b { font-family: var(--pfont), "Inter", sans-serif; font-weight: 700; }
.pick small { color: var(--muted); font-weight: 500; }

/* ---- product rows ---- */
.studios { display: grid; gap: 28px; }
.studio { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; padding: clamp(24px, 4vw, 44px);
  border-radius: 28px; border: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.studio::before { content: ""; position: absolute; inset: -40% auto auto -20%; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, var(--pglow), transparent); }
.studio > * { position: relative; }
.studio.flip .studio-copy { order: 2; }
.studio-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.studio-no { font: 600 13px/1 "Inter", sans-serif; letter-spacing: .08em; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .02em; border: 1px solid var(--line); color: var(--muted); background: var(--surface2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.live { color: #16a34a; border-color: rgba(22,163,74,.35); background: rgba(22,163,74,.08); }
[data-theme="dark"] .status.live { color: #4ade80; }
.status.soon { color: var(--pa); border-color: var(--pglow); }
.studio h3 { font-family: var(--pfont), "Inter", sans-serif; font-size: clamp(34px, 4.4vw, 52px); margin: 16px 0 6px; color: var(--text); }
.studio h3 span { color: var(--pa); }
.studio .tagline { font-family: var(--pfont), "Inter", sans-serif; font-size: clamp(19px, 2vw, 23px); line-height: 1.3; font-weight: 600; margin-bottom: 14px; }
.studio .desc { color: var(--muted); max-width: 54ch; }
.studio ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 9px; }
.studio li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.studio li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--pa); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.btn-brand { background: var(--pa); color: var(--pink); box-shadow: 0 8px 30px -8px var(--pglow), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-brand:hover { box-shadow: 0 12px 40px -8px var(--pglow), inset 0 -2px 0 rgba(0,0,0,.12); }
.studio-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.studio-cta .host { color: var(--muted); font-size: 14px; }

/* every example, in a carousel with arrows (owner 2026-11-19) */
.studio > .reel { min-width: 0; }
.reel-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.reel-title { font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--pa); }
.reel-count { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.reel-hint { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.reel-body { position: relative; }
.reel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 18px 2px 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.reel-track::-webkit-scrollbar { display: none; }
.reel-track:focus-visible { outline: 2px solid var(--pa); outline-offset: 4px; border-radius: 12px; }
.reel-nav { position: absolute; top: calc(50% - 30px); z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; box-shadow: 0 10px 26px -10px rgba(0,0,0,.5);
  transition: opacity .2s ease, transform .15s ease, background .2s ease; }
.reel-nav:hover { background: var(--pa); color: var(--pink); border-color: transparent; }
.reel-nav:active { transform: scale(.94); }
.reel-nav svg { width: 22px; height: 22px; }
.reel-nav.prev { left: -18px; } .reel-nav.next { right: -18px; }
.reel-nav[disabled] { opacity: 0; pointer-events: none; }

.sample { margin: 0; min-width: 0; scroll-snap-align: start; color: var(--text); }
.sample .frame { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; padding: 5px; background: #0a0a0a;
  box-shadow: 0 22px 44px -24px rgba(0,0,0,.6); }
.sample.playing .frame { box-shadow: 0 0 0 2px var(--pa), 0 22px 44px -20px var(--pglow); }
.sample video { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; background: #111; display: block; }
.sample .play { position: absolute; inset: 5px; border: 0; border-radius: 15px; cursor: pointer; background: transparent; }
.sample .play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgba(0,0,0,.55); box-shadow: 0 0 0 1px rgba(255,255,255,.25); transition: transform .15s ease, background .2s ease; }
.sample .play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -6px; border-style: solid;
  border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.sample .play:hover::before { transform: scale(1.08); background: var(--pa); }
.sample.playing .play { display: none; }
.sample .max { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 10px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; }
.sample .max:hover { background: var(--pa); color: var(--pink); }
.sample .max svg { width: 18px; height: 18px; }
.sample.playing .max { top: 12px; }
.sample figcaption { margin-top: 10px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.sample figcaption b { display: block; color: var(--text); font-size: 13.5px; font-weight: 600; }

/* how it works (3 simple steps) */
.choose-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.choose-steps .cstep { padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.choose-steps .cstep b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  color: var(--accentInk); font-weight: 700; margin-bottom: 14px; }
.choose-steps .cstep h3 { font-size: 20px; margin-bottom: 8px; }
.choose-steps .cstep p { color: var(--muted); font-size: 15px; }

.foot-lang .langswitch a, .foot-lang .langswitch strong { margin: 0 2px; }

@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; gap: 30px; }
  .studio.flip .studio-copy { order: 0; }
  .choose-steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .reel-track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .reel-nav.prev { left: -8px; } .reel-nav.next { right: -8px; }
  .reel-hint { margin-left: 0; width: 100%; }
  .sample figcaption { font-size: 12px; }
  .pick-row { flex-direction: column; align-items: flex-start; }
}
body.menu-lock { overflow: hidden; }
