/* TOVANOWORLD site v3 (owner directive 2026-11-07): AI Creative Studio, Academy & Automation.
   Layered over styles.css + theme-v2.css + tovano.css; reuses their colours, fonts and components. System and bundled
   fonts only, no external requests. Motion stays off under prefers-reduced-motion (tovano.css). */

/* ------------------------------------------------------------------------------------------- header + nav */
.site-head.v3 .tn-top { padding: 8px 7px !important; }
.site-head.v3 .tn-top span { font-size: 14.5px; white-space: nowrap; }
.site-head.v3 .tn-x { padding: 6px 2px; min-width: 24px; }
.site-head.v3 .brand span { letter-spacing: 2px; }
.lang { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px; color: #fff; text-decoration: none; font: 600 14px var(--display, inherit); letter-spacing: 1px; }
.lang:hover, .lang:focus-visible { border-color: var(--gold); color: var(--gold-soft); }
@media (max-width: 1520px) { .site-head.v3 .brand span { display: none; } }
@media (max-width: 1360px) {
  .site-head.v3 .menu-btn { display: block; }
  .site-head.v3 .wrap { flex-wrap: wrap; }
  .site-head.v3 .tnav { display: none; order: 4; width: 100%; }
  .site-head.v3 .tnav.open { display: block; }
  .site-head.v3 .tnav ul { flex-direction: column; align-items: stretch; padding: 6px 0 12px; }
  .site-head.v3 .tn { flex-wrap: wrap; border-bottom: 1px solid #141b29; }
  .site-head.v3 .tn-top { flex: 1; padding: 12px 8px !important; }
  .site-head.v3 .tn-top span { font-size: 16px; }
  .site-head.v3 .tn-x { padding: 10px 14px; min-width: 44px; min-height: 44px; }
  .site-head.v3 .tn-sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; width: 100%;
    box-shadow: none; margin: 0 0 10px; background: #0a111d; }
  .site-head.v3 .tn.open .tn-sub { display: block; }
  .site-head.v3 .tn:hover .tn-sub { display: none; }
  .site-head.v3 .tn.open:hover .tn-sub { display: block; }
  .site-head.v3 .head-actions { margin-left: auto; }
}
.menu-btn { min-height: 38px; }

/* footer headings are h2 for a clean heading outline, styled like the former h4 */
.site-foot h2.fh { font: 600 14px var(--display, inherit); letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft);
  margin: 0 0 10px; }
.site-foot h2.fh.h4b { margin-top: 18px; }

/* ------------------------------------------------------------------------------------------- status labels */
.pill-s { display: inline-block; padding: 2px 9px; border-radius: 999px; font: 700 12px/1.6 var(--display, inherit);
  letter-spacing: 1.2px; text-transform: uppercase; border: 1px solid; white-space: nowrap; }
.pill-s.available { color: #9be3b0; border-color: #2f7a48; background: #0b1f14; }      /* demonstration available now */
.pill-s.preview { color: #f1d98a; border-color: #8a6a1c; background: #1d1606; }
.pill-s.in-development { color: #a9c8ff; border-color: #34507f; background: #0b1528; }
.pill-s.coming-soon { color: #d2d6dd; border-color: #555e6b; background: #14181f; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }

/* ------------------------------------------------------------------------------------------- home hero */
.hero3.v3 h1 { font-size: clamp(38px, 5.2vw, 82px); line-height: 1; }
.hero3.v3 h1 .gold { display: block; }
.hero3.v3 .kind { margin-top: 14px; }

/* ecosystem cards */
.eco { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eco a { position: relative; display: flex; flex-direction: column; min-height: 280px; border-radius: 14px; overflow: hidden;
  text-decoration: none; color: #fff; border: 1px solid var(--line); background: #070b13; isolation: isolate;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.eco a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; }
.eco a::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(5, 7, 12, .97) 40%, rgba(5, 7, 12, .6) 68%, rgba(5, 7, 12, .15)); }
.eco a:hover, .eco a:focus-visible { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.eco .top { margin: 16px 16px auto; }
.eco .t { padding: 0 16px; font: 700 21px var(--display, inherit); letter-spacing: .5px; }
.eco .d { padding: 6px 16px 0; font-size: 14.5px; color: #c9d0db; }
.eco .go { padding: 12px 16px 16px; font: 600 15px var(--display, inherit); color: var(--gold-soft); }
@media (max-width: 1100px) { .eco { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .eco { grid-template-columns: minmax(0, 1fr); } .eco a { min-height: 220px; } }

/* ------------------------------------------------------------------------------------------- generic blocks */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cards .card { display: flex; flex-direction: column; gap: 6px; }
.cards .card h3 { margin: 4px 0 0; }
.cards .card p { margin: 0; }
.cards .card .tagline { margin: 0; }
.tagline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; }
.gate-note { border: 1px solid #34507f; background: #0b1528; border-radius: 12px; padding: 14px 16px; color: #dbe5f7; }
.gate-note b { color: #fff; }
.facts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; padding: 0; list-style: none; }
.facts li { border-left: 2px solid var(--gold); padding: 4px 0 4px 12px; color: #d7dce4; }
.media-list { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.media-list th, .media-list td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.media-list th { color: var(--gold-soft); font-weight: 600; }

/* course catalogue */
.courses { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.course { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.course h3 { margin: 4px 0 0; font-size: 21px; }
.course p { margin: 0; }
.course .meta { color: var(--muted); font-size: 14px; }
.course details { margin-top: auto; padding-top: 8px; }
.course summary { cursor: pointer; color: var(--gold-soft); min-height: 24px; }

/* productions */
.prod { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .prod { grid-template-columns: minmax(0, 1fr); } }

/* language note for pages only available in one language */
.lang-note { font-size: 14px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 10px; }

/* narrow phones: long option labels (e.g. German) must not widen the form (Firefox 390 px, cross-browser run 2026-11-08) */
.split > *, form.inquiry { min-width: 0; }
form.inquiry input, form.inquiry select, form.inquiry textarea { max-width: 100%; min-width: 0; box-sizing: border-box; }
form.inquiry select { width: 100%; text-overflow: ellipsis; }

/* long legal words, URLs and addresses wrap on narrow phones (Firefox/WebKit 390 px, /privacy, 2026-11-08) */
.legal p, .legal li, .legal h2 { overflow-wrap: anywhere; }
