:root {
  --night: #0a0c1c;
  --night-2: #12142a;
  --panel: rgba(16, 18, 38, .78);
  --line: rgba(255, 196, 120, .24);
  --sun: #ffb257;
  --sun-hot: #ff7a45;
  --hud: #7dffb0;
  --sky: #8fc6ff;
  --text: #f1ecf0;
  --muted: #b2adc2;
  --stencil: "Saira Stencil One", "Bahnschrift", Impact, sans-serif;
  --body: "Saira Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --mono: "Share Tech Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font: 500 18px/1.5 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--stencil); font-weight: 400; letter-spacing: .02em; margin: 0; line-height: 1.08; }
:focus-visible { outline: 2px solid var(--hud); outline-offset: 2px; }

/* Top bar */
.topbar { position: fixed; z-index: 50; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; transition: background .3s, backdrop-filter .3s; }
.topbar.solid { background: rgba(10, 12, 28, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lang { padding: 7px 8px; background: rgba(10, 12, 28, .7); border: 1px solid var(--line); border-radius: 0; color: var(--text); font: 400 16px var(--mono); cursor: pointer; }
.lang option { background: var(--night-2); color: var(--text); }
.sound { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: rgba(10, 12, 28, .7); border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.sound.on { border-color: var(--sun); color: var(--sun); }
.sound.on .sound-off, .sound:not(.on) .sound-waves { display: none; }
.night .moon { fill: none; }
.night.on .moon { fill: currentColor; }
.topbar-logo img { height: 46px; width: auto; transition: opacity .3s; }
.on-apron .topbar:not(.solid) .topbar-logo img { opacity: 0; }
.topbar-nav { display: flex; gap: 6px; font-family: var(--mono); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.topbar-nav a { padding: 8px 16px; text-decoration: none; border: 1px solid transparent; }
.topbar-nav a:hover { color: var(--sun); }
.topbar-nav a.active, body.on-apron .topbar-nav a[data-nav="news"] { border-color: var(--sun); color: var(--sun); background: rgba(10, 12, 28, .45); }

/* Apron */
.apron { position: relative; height: calc(100vh - var(--footer, 20px)); height: calc(100svh - var(--footer, 20px)); min-height: 320px; overflow: hidden; background: #0b0d26; }
.apron-stage { position: absolute; left: 50%; bottom: 0; transform-origin: 50% 100%; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.apron-world { position: absolute; inset: 0; background: url(../img/panorama.jpg) center / 100% 100% no-repeat; transform-origin: 0 0; transition: transform .75s cubic-bezier(.22, .8, .24, 1); will-change: transform; }
.clouds { position: absolute; left: 0; top: 0; width: 5184px; height: 437px; background: url(../img/nuvole.webp) repeat-x 0 0 / 2592px 437px; animation: clouds-drift 420s linear infinite; pointer-events: none; }
.clouds-light { position: absolute; left: 0; top: 0; width: 2592px; height: 437px; background: radial-gradient(circle 950px at 1626px 512px, rgba(255, 176, 96, .42), rgba(255, 150, 90, 0)); -webkit-mask-image: linear-gradient(#000 35%, transparent 96%); mask-image: linear-gradient(#000 35%, transparent 96%); mix-blend-mode: screen; pointer-events: none; }
.dragonfly { position: absolute; left: 0; top: 0; width: 512px; height: 256px; transform-origin: 0 0; background: url(../img/dg/battito.png) 0 0 / 2048px 1024px no-repeat; opacity: 0; will-change: transform, opacity; pointer-events: none; }
.takeoff { position: absolute; left: 0; top: 0; width: 640px; height: 640px; max-width: none; opacity: 0; will-change: transform, opacity; pointer-events: none; }
@keyframes clouds-drift { to { transform: translate3d(-2592px, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .clouds { animation: none; } }
.stand { position: absolute; display: block; cursor: pointer; background: none; border: 0; padding: 0; transition: filter .45s, opacity .45s; text-align: left; }
.stand-plane { position: relative; display: block; width: 100%; filter: brightness(.94) saturate(1.04) drop-shadow(0 0 14px rgba(255, 150, 80, .1)); transition: filter .35s; }
.stand-shadow { position: absolute; left: -50%; top: 0; width: 200%; max-width: none; filter: blur(2.5px); opacity: .66; pointer-events: none; }
.stand::after { content: ""; position: absolute; left: 22%; right: 16%; bottom: -5px; height: 15%; background: radial-gradient(closest-side, rgba(0, 0, 0, .72), rgba(0, 0, 0, .3) 62%, transparent); pointer-events: none; }
.apron.zooming .stand { filter: brightness(.45) saturate(.7); }
.apron.zooming .stand.selected { filter: none; }
.stand.selected .stand-plane { filter: brightness(1.05) saturate(1.06) drop-shadow(0 0 18px rgba(255, 190, 110, .45)); }

.apron-title { position: absolute; z-index: 5; left: 0; right: 0; top: max(8px, 1.4vh); text-align: center; pointer-events: none; transition: opacity .4s, transform .6s; }
.apron-title img { width: clamp(140px, 26vh, 360px); height: auto; margin: 0 auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6)); }
.apron-title p { margin: -1vh 0 0; font: 400 clamp(13px, 1.9vh, 18px)/1.3 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: #ffe2b4; text-shadow: 0 2px 10px #000; }
.apron.zooming .apron-title { opacity: 0; transform: translateY(-16px); }

/* Hand hint over the apron, only on upright screens where it can be dragged (DeimoS 06/11) */
.pan-hint { position: absolute; z-index: 6; left: 50%; top: 52%; width: 160px; height: 110px; margin: -55px 0 0 -80px; pointer-events: none; display: none; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .7)); }
.apron.can-pan .pan-hint { display: block; opacity: 0; animation: pan-hint-life 7.2s .6s ease both; }
.intro-on .pan-hint, .apron.zooming .pan-hint, .pan-hint.gone { display: none !important; }
.pan-hand { fill: #fff; stroke: #1a1630; stroke-width: 3; stroke-linejoin: round; animation: pan-hand-sway 1.8s .6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.pan-pill { fill: rgba(8, 9, 24, .55); stroke: rgba(255, 226, 180, .35); stroke-width: 1.5; }
.pan-arrow-edge { fill: none; stroke: #1a1630; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.pan-arrow { fill: none; stroke: var(--sun); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; animation: pan-arrow-blink 1.8s .6s ease-in-out infinite; }
.pan-arrow-r { animation-delay: 1.5s; }
@keyframes pan-hint-life { 0% { opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pan-hand-sway { 0%, 100% { transform: translateX(-15px) rotate(-8deg); } 50% { transform: translateX(15px) rotate(8deg); } }
@keyframes pan-arrow-blink { 0%, 100% { opacity: .45; } 25% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .pan-hand, .pan-arrow { animation: none; } }

/* Callout shown during the zoom */
.callout { position: absolute; z-index: 6; left: 50%; top: 84px; width: min(92vw, 620px); transform: translate(-50%, -12px); padding: 12px 22px 14px; text-align: center; background: var(--panel); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s; }
.apron.zooming .callout { opacity: 1; transform: translate(-50%, 0); }
.callout h2 { font-size: clamp(24px, 3.2vh, 36px); color: #fff; }
.callout p { margin: 2px 0 0; color: var(--sun); font: 400 15px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.callout small { display: block; margin-top: 4px; color: var(--muted); font: 500 16px/1.3 var(--body); }

/* Row of tags, in the stalls */
.tags { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; padding: 26px 10px 10px; background: linear-gradient(transparent, rgba(5, 6, 16, .9) 34%); }
.tag { position: relative; display: flex; flex-direction: column; min-width: 0; background: rgba(14, 16, 34, .88); border: 1px solid var(--line); border-top: 3px solid #e9b04a; transition: transform .25s, border-color .25s, background .25s; }
.tag:hover, .tag:focus-within, .tag.selected { transform: translateY(-8px); border-color: var(--sun); background: rgba(40, 28, 44, .96); }
.tag-open { flex: 1; display: block; padding: 7px 8px 5px; text-decoration: none; min-width: 0; }
.tag-open b { display: block; font: 400 clamp(13px, 1.12vw, 20px)/1.15 var(--stencil); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-open i { display: block; font: 500 clamp(11px, .8vw, 14px)/1.2 var(--body); font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-manual { display: block; padding: 4px 8px; font: 400 clamp(9px, .68vw, 12px)/1.3 var(--mono); letter-spacing: .05em; text-decoration: none; text-align: center; white-space: nowrap; overflow: hidden; color: var(--hud); border-top: 1px solid var(--line); }
button.tag-manual { width: 100%; background: none; border: 0; border-top: 1px solid var(--line); cursor: pointer; }
button.tag-manual:hover { background: var(--hud); color: #06140c; }
.tag-manual.soon { color: #7f7b90; }

/* Aircraft page */
.on-detail { background: none; }
.on-detail .wrap { width: min(2200px, 100%); padding: 0 clamp(16px, 2.5vw, 48px); }
/* Fixed behind the page, sized in lvh so the phone address bar does not make it jump. Only the panels scroll. */
.detail-backdrop { position: fixed; z-index: -1; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; overflow: hidden; background: var(--night); pointer-events: none; }
.detail-view { position: relative; overflow: hidden; }
.detail-view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10, 12, 28, .12), rgba(10, 12, 28, .06) 50%, var(--night) 82%); }
.detail-view .apron-stage { top: 0; bottom: auto; transform-origin: 50% 0; }
.detail-view .apron-world { transition: none; }
.detail-hero { position: relative; min-height: min(84vh, 780px); padding: 104px 5vw 44px; display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: 24px; align-items: center; overflow: hidden; }
.detail-back, .detail-hero h1, .detail-slogan { -webkit-text-stroke: var(--outline) #05060f; paint-order: stroke fill; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.detail-back { --outline: 3px; display: inline-block; margin-bottom: 18px; font: 400 14px var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #ffe2b4; }
.detail-back:hover { color: #fff; }
.detail-hero h1 { --outline: 7px; font-size: clamp(36px, 4.5vw, 72px); color: #fff; }
.detail-slogan { --outline: 3px; margin: 10px 0 0; font: 400 clamp(15px, 1.4vw, 21px)/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.detail-plane { width: 100%; filter: drop-shadow(0 36px 26px rgba(0, 0, 0, .55)); }
.notice { margin-top: 16px; padding: 10px 14px; background: var(--night-2); border-left: 3px solid var(--hud); font-size: 17px; line-height: 1.35; }
.wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.buy { position: relative; z-index: 2; margin-top: -24px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.buy-card { padding: 20px 24px; background: var(--night-2); border: 1px solid var(--line); border-top: 3px solid var(--sun); min-width: 0; }
.buy-card h2 { font-size: 24px; margin-bottom: 8px; }
.buy-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-bottom: 8px; }
.buy-head h2 { margin-bottom: 0; }
.platforms { display: flex; align-items: center; gap: 12px; color: var(--sun); }
.platform { display: block; width: 24px; height: 24px; flex: none; }
.platform-ps5 { width: auto; font: italic 700 20px/24px var(--body); letter-spacing: .02em; }
.buy-card p { margin: 0 0 8px; color: var(--muted); }
.buy-card ol { margin: 0; padding-left: 22px; }
.buy-card.manual { border-top-color: var(--hud); display: flex; flex-direction: column; justify-content: space-between; }
.btn { display: inline-block; padding: 11px 20px; font: 400 15px var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; text-align: center; color: #06140c; background: var(--hud); border: 0; cursor: pointer; transition: filter .2s; }
.btn:hover { filter: brightness(1.14); }
.btn.off { background: transparent; color: var(--muted); border: 1px dashed var(--muted); cursor: default; }
.section { margin-top: 24px; padding: clamp(16px, 2vw, 24px); background: var(--night-2); border: 1px solid var(--line); }
.section.overview { padding: 0; background: none; border: 0; }
.intro { padding: clamp(16px, 2vw, 24px); background: var(--night-2); border: 1px solid var(--line); }
.intro p:last-child { margin-bottom: 0; }
.section > h2 { font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.section > h2 small { font: 400 15px var(--mono); letter-spacing: .08em; color: var(--sun); margin-left: 10px; white-space: nowrap; }
.overview { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; align-items: start; }
.overview p { margin: 0 0 14px; font-size: 19px; line-height: 1.5; color: #dfdbe4; }
.specs { margin: 0; padding: 16px 18px; background: #070b12; border: 1px solid rgba(125, 255, 176, .3); font-family: var(--mono); font-size: 15px; line-height: 1.35; }
.specs caption, .specs-title { display: block; margin-bottom: 10px; color: var(--hud); letter-spacing: .12em; text-transform: uppercase; }
.specs div { padding: 7px 0; border-top: 1px solid rgba(125, 255, 176, .16); }
.specs dt { color: var(--hud); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.specs dd { margin: 1px 0 0; color: #e5fff0; }
.tour-stage { position: relative; aspect-ratio: 16 / 9; max-height: 82vh; margin: 0 auto; background: #000; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tour-stage.is-cab { touch-action: none; }
.tour-stage.is-held { cursor: grabbing; }
.tour-stage:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.tour-stage:fullscreen { aspect-ratio: auto; max-height: none; width: 100%; height: 100%; }
.tour-stage canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.tour-stage canvas[hidden] { display: none; }
.tour-hint, .tour-state { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 12px; background: rgba(4, 4, 12, .72); font: 400 13px var(--mono); letter-spacing: .08em; text-align: center; color: #ffe2b4; pointer-events: none; }
.tour-hint { bottom: 14px; width: max-content; max-width: calc(100% - 90px); }
.tour-hint[hidden], .tour-state[hidden] { display: none; }
.tour-state { top: 14px; }
@media (max-width: 600px) { .tour-hint, .tour-state { font-size: 10px; padding: 3px 7px; } .tour-hint { bottom: 8px; } }
.tour-full { position: absolute; right: 10px; bottom: 10px; display: flex; padding: 7px; background: rgba(4, 4, 12, .72); border: 1px solid var(--line); color: #fff; cursor: pointer; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: #000; overflow: hidden; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s, filter .3s; }
.gallery button:hover img { transform: scale(1.05); filter: brightness(1.08); }
.livery-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.livery-filters button { padding: 6px 14px; background: none; border: 1px solid var(--line); font: 400 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.livery-filters button.active { background: var(--sun); border-color: var(--sun); color: #1a1208; }
.liveries { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.livery { padding: 0; background: var(--night); border: 1px solid transparent; cursor: zoom-in; text-align: left; transition: border-color .2s, transform .2s; }
.livery:hover { border-color: var(--sun); transform: translateY(-3px); }
.livery img { width: 100%; height: auto; aspect-ratio: 8 / 5; }
.livery span { display: block; padding: 6px 10px 8px; font-size: 16px; line-height: 1.2; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.features article { padding: 18px 22px; background: var(--night); border-left: 3px solid var(--sun); }
.features h3 { font-size: 21px; color: #ffd9a0; margin-bottom: 8px; }
.features ul { margin: 0; padding-left: 18px; }
.features li { margin-bottom: 5px; line-height: 1.32; color: #d9d5df; }

/* Manuals */
.page-head { padding: 104px 0 38px; background: linear-gradient(rgba(10, 12, 28, .25), var(--night)), url(../img/panorama.jpg) 50% 34% / cover no-repeat; }
.page-head h1 { font-size: clamp(40px, 6vw, 80px); text-shadow: 0 3px 22px rgba(0, 0, 0, .7); }
.page-head p { margin: 8px 0 0; max-width: 680px; font-size: 20px; text-shadow: 0 2px 10px #000; }
.manuals { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; padding-top: 26px; }
.manual-card { display: flex; flex-direction: column; background: var(--night-2); border: 1px solid var(--line); min-width: 0; }
.manual-card.none { opacity: .72; }
.manual-art { display: flex; align-items: center; justify-content: center; height: 168px; padding: 14px 22px; background: radial-gradient(ellipse at 50% 110%, #7c3d5c, #1d1c3c 72%); }
.manual-art img { max-height: 100%; width: auto; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .5)); }
.manual-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.manual-body h2 { font-size: 22px; }
.manual-body p { margin: 0 0 10px; color: var(--muted); font: 400 13px var(--mono); letter-spacing: .05em; }
.manual-body .btn { margin-top: auto; }
.manual-body a.more { margin-bottom: 8px; color: var(--sun); font-size: 16px; }

/* Contact */
.contact { max-width: 820px; margin: 26px auto 0; padding: clamp(16px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; background: var(--night-2); border: 1px solid var(--line); border-top: 3px solid var(--sun); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; min-width: 0; font: 400 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.field small { font-size: 12px; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; background: #070b12; border: 1px solid var(--line); color: var(--text); font: 500 18px/1.4 var(--body); letter-spacing: 0; text-transform: none; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sun); outline: none; }
.file-drop { position: relative; display: block; margin-top: 6px; padding: 16px 12px; background: #070b12; border: 1px dashed var(--sun); color: var(--text); font: 500 18px/1.3 var(--body); letter-spacing: 0; text-transform: none; text-align: center; cursor: pointer; overflow-wrap: anywhere; }
.file-drop:hover, .file-drop:focus-within { background: rgba(255, 178, 87, .1); }
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.file-remove { margin-top: 6px; padding: 2px 0; background: none; border: 0; color: var(--muted); font: 500 16px var(--body); letter-spacing: 0; text-transform: none; text-decoration: underline; cursor: pointer; }
.file-remove[hidden] { display: none; }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-check { min-height: 65px; }
.contact-note { margin: 0; color: var(--muted); font-size: 16px; }
.contact .btn { align-self: flex-start; }
.contact .btn:disabled { opacity: .6; cursor: wait; }
.contact-status { margin: 0; min-height: 1.4em; }
.contact-status.ok { color: var(--hud); }
.contact-status.bad { color: #ff9d8a; }
/* Content creator (06/11) */
.creator-banner { max-width: 820px; margin: 22px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px 20px; background: linear-gradient(90deg, rgba(255, 178, 87, .16), rgba(255, 178, 87, .04)); border: 1px solid var(--sun); color: var(--text); text-decoration: none; font-size: 18px; transition: background .2s; }
.creator-banner b { font: 400 14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sun); white-space: nowrap; }
.creator-banner:hover { background: linear-gradient(90deg, rgba(255, 178, 87, .28), rgba(255, 178, 87, .08)); }
.creators-kicker { margin: 0 0 6px; font: 400 14px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.creators-planes { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 3vw, 36px); margin-top: 22px; }
.creators-planes img { width: clamp(90px, 22vw, 230px); height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
.creators-perks { max-width: 820px; margin: 26px auto 0; padding: 18px clamp(16px, 3vw, 28px); background: var(--night-2); border: 1px solid var(--line); }
.creators-perks h2, .creators-form-title { margin: 0 0 10px; font: 400 15px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.creators-perks ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.creators-perks li { position: relative; padding-left: 26px; font-size: 18px; }
.creators-perks li::before { content: '\2708'; position: absolute; left: 0; top: 0; color: var(--sun); }
.checks { margin: 0; padding: 0; border: 0; }
.checks legend { padding: 0; margin-bottom: 6px; }
.check { display: inline-flex; align-items: center; gap: 8px; margin: 4px 18px 4px 0; color: var(--text); font: 500 17px var(--body); letter-spacing: 0; text-transform: none; cursor: pointer; }
.field .check input { display: inline-block; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--sun); cursor: pointer; }
@media (max-width: 640px) { .creators-perks ul { grid-template-columns: 1fr; } }

/* Privacy */
.privacy { max-width: 820px; margin: 26px auto 0; }
.privacy h2 { margin: 30px 0 8px; font-size: 25px; color: #ffd9a0; }
.privacy p { margin: 0 0 12px; color: #dfdbe4; }
.privacy a, .contact-note a, .footer a { color: var(--sun); }
.privacy-updated { color: var(--muted); font: 400 14px var(--mono); }

/* Footer */
body { padding-bottom: var(--footer, 20px); }
.footer { position: fixed; z-index: 40; inset: auto 0 0 0; padding: 3px 10px; background: var(--night-2); border-top: 1px solid var(--line); color: var(--muted); font-size: clamp(9px, .55vw, 11px); line-height: 1.25; }
.footer p { margin: 0; text-align: center; }

/* Manual language choice */
.manual-picker { position: fixed; z-index: 90; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 4, 12, .8); }
.manual-picker[hidden] { display: none; }
.manual-picker-box { position: relative; width: min(480px, 100%); max-height: 100%; overflow-y: auto; padding: 22px 24px 24px; background: var(--night-2); border: 1px solid var(--line); border-top: 3px solid var(--hud); }
.manual-picker-box h2 { font-size: 26px; padding-right: 36px; }
.manual-picker-box > p { margin: 6px 0 14px; color: var(--muted); }
.manual-picker-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; background: none; border: 0; font-size: 32px; line-height: 1; cursor: pointer; }
.manual-picker-close:hover { color: var(--sun); }
.manual-picker-list { display: flex; flex-direction: column; gap: 6px; }
.manual-picker-list a, .manual-picker-list .off { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; }
.manual-picker-list b { font-weight: 600; }
.manual-picker-list span span, .manual-picker-list a span { font: 400 13px var(--mono); letter-spacing: .04em; }
.manual-picker-list a { color: #06140c; background: var(--hud); border-color: var(--hud); }
.manual-picker-list a:hover { filter: brightness(1.14); }
.manual-picker-list .off { color: var(--muted); opacity: .75; }

/* Lightbox */
.lightbox { position: fixed; z-index: 100; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(4, 4, 12, .94); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 88vw; }
.lightbox img { max-width: 88vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 8px; text-align: center; font: 400 14px var(--mono); letter-spacing: .08em; color: #ffe2b4; }
.lightbox button { position: absolute; background: none; border: 0; cursor: pointer; font-size: 54px; line-height: 1; padding: 8px 18px; color: #fff; }
.lightbox button:hover { color: var(--sun); }
.lightbox-close { top: 8px; right: 12px; }
.lightbox-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Opening animation */
.intro-on { overflow: hidden; }
.intro-on .apron-title img { visibility: hidden; }
.intro-on .stand, .intro-on .apron-title p { opacity: var(--intro-planes, 0); transition: none; }
.opening { position: fixed; z-index: 200; inset: 0; overflow: hidden; }
.intro-back { position: absolute; inset: 0; background: #060a20; }
.intro-logo { position: absolute; left: 50%; top: 50%; width: min(92vw, 115.5vh); aspect-ratio: 1870 / 1295; will-change: transform; }
.intro-logo > img, .intro-disc img, .intro-plane img, .intro-shine { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.intro-wing { transform-origin: 49.973% 51.004%; opacity: 0; will-change: transform; }
.intro-disc-clip { position: absolute; inset: 0; clip-path: inset(0 0 13.9% 0); }
.intro-disc { position: absolute; inset: 0; will-change: transform; }
.intro-sweep { position: absolute; left: 49.973%; top: 51.004%; width: 50.2%; aspect-ratio: 1; margin: -25.1% 0 0 -25.1%; border-radius: 50%; background: conic-gradient(transparent 280deg, rgba(125, 255, 176, .5)); opacity: 0; }
.intro-plane { position: absolute; inset: 0; opacity: 0; will-change: transform; }
.intro-flame { position: absolute; top: 81.5%; width: 7%; height: 26%; transform-origin: 50% 0; border-radius: 50%; background: radial-gradient(ellipse 50% 50% at 50% 12%, #fff, #ffd27a 22%, rgba(255, 120, 50, .7) 48%, transparent 75%); opacity: 0; }
.intro-flame:nth-child(1) { left: 46.9%; }
.intro-flame:nth-child(2) { left: 53%; }
.intro-whole, .intro-morph { opacity: 0; transform-origin: 0 0; }
.intro-shine { background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%) 130% 0 / 300% 100% no-repeat; pointer-events: none; }
.intro-shine-plate { -webkit-mask: url(../img/intro/targa.webp) 0 0 / 100% 100%; mask: url(../img/intro/targa.webp) 0 0 / 100% 100%; }
.intro-shine-whole { -webkit-mask: url(../img/intro/completo.webp) 0 0 / 100% 100%; mask: url(../img/intro/completo.webp) 0 0 / 100% 100%; }
.intro-flash { position: absolute; inset: 0; background: radial-gradient(circle, #fff, rgba(255, 226, 180, .75) 55%, rgba(255, 190, 120, .35)); opacity: 0; pointer-events: none; }
.intro-skip { position: absolute; right: 20px; bottom: 20px; padding: 8px 14px; background: rgba(10, 12, 28, .6); border: 1px solid var(--line); font: 400 14px var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.intro-skip:hover { color: var(--sun); }
/* Ingresso (DeimoS 06/11): a ogni apertura due bottoni, con audio o senza */
.gate { position: fixed; z-index: 300; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6vh; padding: 0 16px 14vh; background: #060a20; }
.gate-over { background: transparent; }
.opening:has(~ .gate) .intro-skip { visibility: hidden; }
.gate-logo { position: absolute; left: 50%; top: 42%; width: min(70vw, 420px); transform: translate(-50%, -50%); filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6)); }
.gate-buttons { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.gate-btn { display: flex; align-items: center; gap: 12px; min-width: 260px; justify-content: center; padding: 14px 26px; background: rgba(10, 12, 28, .8); border: 1px solid var(--line); color: var(--ink, #fff); font: 400 17px var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.gate-btn:hover, .gate-btn:focus-visible { border-color: var(--sun); color: var(--sun); background: rgba(40, 28, 44, .92); outline: none; }
.gate-btn.gate-sound { border-color: var(--sun); color: var(--sun); animation: gate-glow 1.8s ease-in-out infinite; }
@keyframes gate-glow { 0%, 100% { box-shadow: 0 0 0 rgba(255, 178, 87, 0); } 50% { box-shadow: 0 0 22px rgba(255, 178, 87, .55); } }
@media (max-width: 600px) { .gate-buttons { flex-direction: column; align-items: stretch; width: min(100%, 340px); } .gate-btn { min-width: 0; font-size: 15px; padding: 13px 16px; letter-spacing: .08em; } }

/* Narrow screens: planes stay visible by panning, tags become a scrolling strip */
@media (max-width: 1100px) {
  .tags { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 148px; overflow-x: auto; scrollbar-width: none; padding-top: 14px; }
  .tags::-webkit-scrollbar { display: none; }
  .tag:hover, .tag:focus-within, .tag.selected { transform: none; }
  .tag-open b { font-size: 17px; }
  .tag-open i { font-size: 13px; }
  .tag-manual { font-size: 11px; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .topbar { padding: 6px 12px; }
  .topbar-logo img { height: 38px; }
  .topbar-left, .topbar-right { gap: 4px; }
  .topbar-nav { gap: 0; font-size: 12px; letter-spacing: .04em; }
  .topbar-nav a { padding: 6px 7px; }
  .lang { max-width: 56px; padding: 4px; }
  .apron-title { top: 52px; }
  .apron-title img { width: clamp(130px, 19vh, 200px); }
  .apron-title p { font-size: 11px; letter-spacing: .16em; padding: 0 12px; }
  .detail-hero { grid-template-columns: 1fr; padding: 76px 16px 44px; min-height: 0; }
  .detail-plane { max-width: 520px; margin: 0 auto; }
  .buy, .overview, .field-row { grid-template-columns: 1fr; }
  .buy-card { padding: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .liveries { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .callout { top: 56px; padding: 8px 12px; }
  .callout h2 { font-size: 22px; }
  .callout p { font-size: 12px; }
  .callout small { font-size: 14px; }
  .lightbox button { font-size: 38px; padding: 6px 8px; }
  .lightbox figure, .lightbox img { max-width: 100vw; }
}
/* Small phones: room for both sound buttons (speaker and moon) in the top bar */
@media (max-width: 420px) {
  .topbar { padding: 6px 8px; }
  .sound { width: 31px; height: 31px; }
  .sound svg { width: 19px; height: 19px; }
  .topbar-nav a { padding: 6px 5px; }
  .topbar-left, .topbar-right { gap: 3px; }
  .topbar-logo img { height: 32px; }
  .lang { padding: 4px 2px; font-size: 15px; }
}
/* Phones held sideways: the whole apron has to fit in very little height */
@media (max-height: 500px) {
  .apron-title { display: none; }
  .on-apron .topbar:not(.solid) .topbar-logo img { opacity: 1; }
  .tags { padding: 6px 8px 6px; grid-auto-columns: 124px; }
  .tag-open { padding: 3px 6px 2px; }
  .tag-open b { font-size: 14px; }
  .tag-open i, .tag-manual { display: none; }
  .callout { top: 46px; padding: 4px 10px; }
  .callout p { display: none; }
  .apron.zooming .callout h2 { font-size: 18px; }
  .page-head { padding-top: 70px; }
  .detail-hero { padding-top: 64px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .apron-world, .stand, .tag { transition: none; }
  html { scroll-behavior: auto; }
}
.nav-ico { display: none; }
.topbar.compact .nav-ico { display: block; }
.topbar.compact .nav-label { display: none; }
.topbar.compact .topbar-nav a { padding: 5px 6px; display: flex; align-items: center; }
.topbar.compact .topbar-nav { gap: 2px; }
.news { display: grid; gap: 18px; max-width: 920px; padding-top: 26px; }
.news-post { display: flex; background: var(--night-2); border: 1px solid var(--line); border-left: 3px solid var(--sun); min-width: 0; }
.news-art { flex: none; display: flex; align-items: center; justify-content: center; width: 260px; padding: 14px 18px; background: radial-gradient(ellipse at 50% 110%, #7c3d5c, #1d1c3c 72%); }
.news-art img { max-width: 100%; max-height: 170px; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .5)); }
.news-art.photo { padding: 0; }
.news-art.photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; }
.news-body { flex: 1; min-width: 0; padding: 16px 20px 18px; }
.news-post.t-issue { --tc: #ff5d5d; } .news-post.t-update { --tc: #ffb257; } .news-post.t-info { --tc: #5fe08c; } .news-post.t-quick { --tc: #4fd8ff; }
.news-filter.t-issue { --tc: #ff5d5d; } .news-filter.t-update { --tc: #ffb257; } .news-filter.t-info { --tc: #5fe08c; } .news-filter.t-quick { --tc: #4fd8ff; }
.news-post { border-left-color: var(--tc, var(--sun)); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.news-type { padding: 2px 8px; color: #0a0c1c; background: var(--tc, var(--sun)); font: 400 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.news-body time { color: var(--muted); font: 400 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 920px; padding-top: 26px; }
.news-filter { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: rgba(10, 12, 28, .7); border: 1px solid var(--line); color: var(--text); font: 400 14px var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.news-filter i { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 8px var(--tc); }
.news-filter:hover:not(:disabled) { border-color: var(--tc, var(--sun)); }
.news-filter.active { border-color: var(--tc, var(--sun)); color: var(--tc, var(--sun)); background: rgba(40, 28, 44, .9); }
.news-filter:disabled { opacity: .4; cursor: default; }
.news-filters + .news { padding-top: 16px; }
.news-post[hidden] { display: none; }
@media (max-width: 640px) { .news-filters { gap: 6px; } .news-filter { padding: 6px 8px; gap: 6px; font-size: 12px; letter-spacing: .03em; } .news-filter i { width: 8px; height: 8px; } }
.news-body h2 { margin: 4px 0 8px; font-size: clamp(22px, 2.4vw, 30px); }
.news-body p { margin: 0 0 10px; font-size: 17px; line-height: 1.5; }
.news-body a.more { color: var(--sun); font-size: 16px; }
.news-empty { color: var(--muted); font: 400 16px var(--mono); }
@media (max-width: 640px) { .news-post { flex-direction: column; } .news-art { width: auto; height: 160px; } }

/* Campo da correggere nel form creator */
.field-bad input, .field-bad textarea, fieldset.field-bad { border-color: #ff6b6b !important; box-shadow: 0 0 0 1px #ff6b6b; }
fieldset.field-bad { border: 1px solid #ff6b6b; border-radius: 4px; padding: 6px 8px; }
