/* MyWings demo (a fictional academy): the page scrolls over a fixed flight (canvas#sky). Brand: midnight #0C1117, coral #FF6B4A, peach #FFB08A. */
:root {
  --deep: #0C1117; --ink: #16202B; --acc: #FF6B4A; --acc2: #FFB08A; --tint: #FFD3BC;
  --w: #fff; --txt: rgba(255, 255, 255, .84); --mut: rgba(255, 255, 255, .62); --line: rgba(255, 255, 255, .16);
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;
  --gut: clamp(20px, 6vw, 110px);
  --col: min(540px, 42vw);
}
* { box-sizing: border-box; }
html { background: var(--deep); -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; color: var(--w); background: var(--deep); font: 400 16px/1.62 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; background: #2f3a3e; }
.scrim { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(9, 12, 17, .84) 0, rgba(9, 12, 17, .7) 30%, rgba(9, 12, 17, .26) 47%, rgba(9, 12, 17, 0) 58%); }

/* loading screen */
.loader { position: fixed; inset: 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 18px; background: radial-gradient(90% 70% at 50% 40%, #1D2935 0, var(--deep) 70%); transition: opacity .9s ease .1s, visibility 0s linear 1s; }
.logo { display: inline-flex; align-items: center; gap: .3em; font: 700 22px/1 var(--disp); letter-spacing: -.025em; color: var(--w); text-decoration: none; white-space: nowrap; }
.logo svg { width: 1.9em; height: .95em; fill: var(--acc); flex: none; }
.loader .logo { font-size: 34px; }
.loader p { margin: 0; font: 600 12px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--mut); }
.loader-bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--acc); transition: width .4s ease; }
html.ready .loader { opacity: 0; visibility: hidden; }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px var(--gut) 18px; background: linear-gradient(180deg, rgba(9, 12, 17, .62), rgba(9, 12, 17, 0)); }
.brand { font-size: 23px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font: 600 14px/1 var(--body); color: var(--txt); text-shadow: 0 1px 8px rgba(4, 6, 9, .5); }
.nav a:hover { color: var(--w); }
.top-cta { margin-left: 4px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(9, 12, 17, .45); cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 19; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 90px 28px 40px; background: rgba(12, 16, 22, .97); }
.menu[hidden] { display: none; }
.menu a:not(.btn) { font: 700 28px/1.3 var(--disp); text-decoration: none; padding: 6px 0; }
.menu .btn { margin-top: 22px; align-self: flex-start; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 700 15px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s, background .25s; }
.btn:hover { transform: translateY(-1px); }
.btn-y { background: var(--acc); color: var(--deep); box-shadow: 0 8px 26px rgba(255, 107, 74, .26); }
.btn-y:hover { background: #FF8466; }
.btn-line { color: var(--w); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); background: rgba(9, 12, 17, .25); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* flight instruments */
.hud { position: fixed; right: 26px; bottom: 22px; z-index: 6; width: 238px; padding: 14px 16px 16px; border-radius: 16px; background: rgba(9, 12, 17, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font: 600 12px/1 var(--body); font-variant-numeric: tabular-nums; pointer-events: none; opacity: 0; transition: opacity .8s .6s; }
html.ready .hud { opacity: 1; }
html.at-foot .hud { opacity: 0; transition: opacity .4s; }
.hud-phase { display: flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .16em; font-size: 10.5px; color: var(--tint); }
.hud-phase i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(255, 107, 74, .2); animation: blink 1.6s infinite; }
.hud dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 13px 0 0; }
.hud dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.hud dt { color: var(--mut); font-size: 10px; letter-spacing: .14em; }
.hud dd { margin: 0; font: 700 15px/1 var(--disp); color: var(--w); }
.hud-track { position: relative; height: 3px; margin-top: 15px; background: rgba(255, 255, 255, .14); border-radius: 3px; }
.hud-track b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--acc2), var(--acc)); border-radius: 3px; }
.hud-track span { position: absolute; top: -3px; width: 2px; height: 9px; background: rgba(255, 255, 255, .45); }
@keyframes blink { 50% { opacity: .35; } }

/* content */
main { position: relative; z-index: 2; padding: 0 var(--gut); }
.kicker { margin: 0 0 14px; font: 700 12px/1.3 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--tint); }
h1, h2, h3 { font-family: var(--disp); color: var(--w); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 82px); line-height: 1.0; letter-spacing: -.035em; font-weight: 800; }
h1 span { color: var(--acc); }
h2 { font-size: clamp(28px, 2.9vw, 42px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 14px; color: var(--txt); }
.lead { font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
h1, h2, h3, .lead, .big, .kicker, .hero p { text-shadow: 0 1px 3px rgba(4, 6, 9, .45), 0 0 30px rgba(4, 6, 9, .35); }

.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 70px; position: relative; }
.hero-in { width: min(620px, 46vw); }
.hero .lead { margin: 22px 0 28px; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 6px; }
.proof { margin-top: 22px; font-size: 14px; color: var(--mut); }
.stars { color: var(--acc); letter-spacing: .1em; }
.cue { position: absolute; left: 0; bottom: 34px; margin: 0; display: flex; align-items: center; gap: 12px; font: 700 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--mut); }
.cue span { width: 1px; height: 36px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--acc)); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.flow { width: var(--col); padding: 16vh 0 14vh; }
.interlude { min-height: 150vh; position: relative; }
.il-in { position: sticky; top: 38vh; width: min(720px, 52vw); }
.big { margin: 0; font: 800 clamp(48px, 7vw, 108px)/.98 var(--disp); letter-spacing: -.04em; color: var(--w); }
.big em { font-style: normal; color: var(--acc); }

.stage { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 24px 0 8px; border-top: 1px solid var(--line); margin-top: 18px; }
.stage-n { font: 800 30px/1 var(--disp); color: var(--acc); letter-spacing: -.03em; padding-top: 3px; }
.tag { margin: 0 0 8px; font: 700 11.5px/1.3 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--tint); }
.facts { list-style: none; display: flex; gap: 34px; padding: 18px 0 0; margin: 10px 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 6px; }
.facts b { font: 800 34px/1 var(--disp); letter-spacing: -.03em; }
.facts span { font: 700 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
.ticks { list-style: none; padding: 0; margin: 8px 0 18px; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); color: var(--txt); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.cards { margin: 18px 0; }
.row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.row:first-child { border-top: 1px solid var(--line); }
.row b { font: 700 18px/1.3 var(--disp); color: var(--acc); letter-spacing: -.01em; }
.row span { color: var(--txt); }
.note { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.note b { color: var(--w); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); flex: none; }
.photo { margin: 18px 0 6px; }
.photo img { width: 100%; height: auto; border-radius: 16px; aspect-ratio: 1000 / 631; object-fit: cover; }
.fleet { font-size: 15px; }
.fleet span { display: block; font: 700 11px/1.4 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--tint); margin-bottom: 6px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.team figure { margin: 0; }
.team img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.team figcaption { padding-top: 10px; font-size: 13.5px; color: var(--mut); line-height: 1.4; }
.team figcaption b { display: block; font: 700 15px/1.3 var(--disp); color: var(--w); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 36px 17px 0; position: relative; font: 600 16.5px/1.4 var(--disp); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 10px; height: 10px; border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { padding-bottom: 8px; }

.form { display: grid; gap: 12px; margin: 22px 0; }
.form label { display: grid; gap: 7px; }
.form label span { font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.form input, .form select { height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(9, 12, 17, .62); color: var(--w); font: 500 16px/1 var(--body); -webkit-appearance: none; appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--acc) 50%), linear-gradient(135deg, var(--acc) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.form input:focus, .form select:focus { outline: none; border-color: var(--acc); }
.form .btn { margin-top: 6px; justify-self: start; }
.form-msg { margin: 4px 0 0; color: var(--acc); font-weight: 600; }
.reach { list-style: none; padding: 0; margin: 10px 0 0; }
.reach li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--txt); }
.reach span { font: 700 11px/1.8 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.reach a { text-decoration: none; font-weight: 700; color: var(--w); }
.contact { padding-bottom: 22vh; }

.foot { position: relative; z-index: 2; background: var(--deep); padding: 56px var(--gut) 64px; border-top: 1px solid var(--line); }
.foot-in { max-width: 760px; }
.foot .logo { margin-bottom: 18px; }
.foot .fict { color: var(--tint); }
.foot p { font-size: 14px; color: var(--mut); }
.foot .credits { font-size: 12px; color: rgba(255, 255, 255, .45); }
.foot .small { font-size: 12px; color: rgba(255, 255, 255, .45); margin: 0; }

/* without WebGL the page still reads well: a still picture of the plane on the runway */
html.no-gl #sky { display: none; }
html.no-gl body { background: radial-gradient(70% 60% at 70% 40%, #1D2935 0, var(--deep) 70%) fixed; }
.still { display: none; }
html.no-gl .still { display: block; position: fixed; z-index: 0; width: min(36vw, 340px); right: 12vw; top: 26vh; }

@media (max-width: 1099px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .menu-btn { display: block; margin-left: 0; }
}

/* phone: the plane rides in the upper third, the text lives in the lower part of the screen */
@media (max-width: 759px) {
  :root { --gut: 20px; --col: 100%; }
  html { scroll-padding-top: 56vh; }
  .top { padding: 10px 14px 14px; }
  .brand { font-size: 19px; }
  .top-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .scrim { background: linear-gradient(180deg, rgba(9, 12, 17, 0) calc(var(--tail, 40vh) + 4px), rgba(9, 12, 17, .62) calc(var(--tail, 40vh) + 13vh), rgba(9, 12, 17, .84) 100%); }
  .hud { top: 64px; right: 12px; bottom: auto; width: auto; padding: 9px 11px; border-radius: 12px; }
  .hud-phase { font-size: 9px; letter-spacing: .14em; }
  .hud dl { grid-template-columns: auto auto; gap: 6px 12px; margin-top: 8px; }
  .hud dd { font-size: 13px; }
  .hud dt { font-size: 9px; }
  .hud-x, .hud-track { display: none !important; }
  .hero { justify-content: flex-end; padding: 50vh 0 9vh; }
  .hero-in { width: 100%; }
  h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .hero .lead { margin: 14px 0 22px; font-size: 16px; }
  .cue { display: none; }
  .flow { padding: 30vh 0 8vh; }
  .interlude { min-height: 140vh; }
  .il-in { top: 60vh; width: 100%; }
  .big { font-size: clamp(44px, 13vw, 60px); }
  .stage { grid-template-columns: 46px 1fr; }
  .stage-n { font-size: 24px; }
  .facts { gap: 22px; }
  .facts b { font-size: 28px; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .team { gap: 12px; }
  .form .btn { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .cue span, .hud-phase i { animation: none; }
  .btn, .loader { transition: none; }
}

/* Biroul de IT end card, the same as on the other demos; it sits above the fixed flight, the header and the HUD */
.bdit-end{position:relative;z-index:21;min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:48px 24px;background:radial-gradient(120% 70% at 50% 38%,#1B1A16 0%,#0E0E10 62%);color:#E8E2D4;text-align:center;overflow:hidden}
.bdit-end-in{display:flex;flex-direction:column;align-items:center;max-width:520px}
.bdit-logo{display:block;width:min(64vw,300px)}
.bdit-logo img{display:block;width:100%;height:auto}
.bdit-kicker{margin:28px 0 6px;font:600 13px/1 Sora,"Plus Jakarta Sans",system-ui,sans-serif;letter-spacing:.28em;text-transform:uppercase;color:#C9A55C}
.bdit-name{margin:0;font:800 clamp(38px,11vw,64px)/1.02 Sora,"Plus Jakarta Sans",system-ui,sans-serif;letter-spacing:-.02em;color:#F4EEDF;text-shadow:none}
.bdit-rule{display:block;width:64px;height:2px;margin:26px 0;background:linear-gradient(90deg,transparent,#C9A55C,transparent)}
.bdit-claim{margin:0;font:600 clamp(22px,6.4vw,34px)/1.25 Sora,"Plus Jakarta Sans",system-ui,sans-serif;color:#E8E2D4}
.bdit-claim b{color:#EBC164;font-weight:800}
.bdit-link{margin-top:30px;font:600 14px/1 Inter,system-ui,sans-serif;letter-spacing:.06em;color:#C9A55C;text-decoration:none;border-bottom:1px solid rgba(201,165,92,.4);padding-bottom:4px}
.bdit-end .bdit-logo,.bdit-end .bdit-kicker,.bdit-end .bdit-name,.bdit-end .bdit-rule,.bdit-end .bdit-claim,.bdit-end .bdit-link{opacity:0;transform:translateY(18px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.bdit-end .bdit-logo{transform:translateY(18px) scale(.92)}
.bdit-end.is-in .bdit-logo,.bdit-end.is-in .bdit-kicker,.bdit-end.is-in .bdit-name,.bdit-end.is-in .bdit-rule,.bdit-end.is-in .bdit-claim,.bdit-end.is-in .bdit-link{opacity:1;transform:none}
.bdit-end.is-in .bdit-kicker{transition-delay:.25s}.bdit-end.is-in .bdit-name{transition-delay:.4s}
.bdit-end.is-in .bdit-rule{transition-delay:.6s}.bdit-end.is-in .bdit-claim{transition-delay:.75s}.bdit-end.is-in .bdit-link{transition-delay:1s}
@media (prefers-reduced-motion:reduce){.bdit-end *{opacity:1!important;transform:none!important;transition:none!important}}
