/* geist-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-cyrillic-ext-wght-normal.DjL33-gN.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* geist-cyrillic-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-cyrillic-wght-normal.BEAKL7Jp.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* geist-vietnamese-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-vietnamese-wght-normal.6IgcOCM7.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* geist-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-latin-ext-wght-normal.DC-KSUi6.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* geist-latin-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-latin-wght-normal.BgDaEnEv.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* geist-mono-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-mono-cyrillic-ext-wght-normal.X_5orZeX.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* geist-mono-cyrillic-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-mono-cyrillic-wght-normal.DiZS0aHC.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* geist-mono-symbols2-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-mono-symbols2-wght-normal.CO5SzqOn.woff2) format('woff2-variations');
  unicode-range: U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F;
}

/* geist-mono-vietnamese-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-mono-vietnamese-wght-normal.DadHysG0.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* geist-mono-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-mono-latin-ext-wght-normal.Bwz-egvJ.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* geist-mono-latin-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/realisations/_astro/geist-mono-latin-wght-normal.XN7g48iV.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* Pagina « Réalisations » a aizbox.fr: foaia primului ecran și a zborului (commitul c5c06d0 din site/), plus, la sfârșit, ce ține doar de pagina aceasta. */
:root { --fond: #0B0B0C; --alb: #ECEDEF; --stins: #9DA0A7; --rosu: #FF2800; --linie: rgba(255,255,255,.18); --litera: "Geist Variable", "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --g: clamp(20px, 5.6vw, 104px); color-scheme: dark; }
html { font-size: clamp(16px, .8vw, 26px); }
html, body { height: 100%; }
body { margin: 0; background: var(--fond); color: var(--alb); font-family: var(--litera); line-height: 1.3; }
/* derularea e liberă abia după intro (scriptul pune .deschis); fără script, pagina se derulează de la început */
html.js:not(.deschis), html.js:not(.deschis) body { overflow: hidden; }
/* înălțimea paginii: FIN + 1 ecrane (src/scena/derulare.ts); scena și scrisul stau fixe, derularea doar mută camera */
.inaltime { height: 520vh; height: 520svh; }
.scena, #ov { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#ov { pointer-events: none; }
/* strat: bobul de film stă peste scenă și se amestecă cu ea; e singurul strat amestecat al paginii */
.bob { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.strat { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
button, input { font-family: inherit; }
:focus-visible { outline: 2px solid var(--rosu); outline-offset: 3px; }
.ascuns { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* cât rulează introul, scrisul așteaptă; starea ascunsă o pune scriptul (clasa js), nu foaia de stil singură */
html.js:not(.scena-gata) :is(#bara, #fraza, #camp, #intrebari, #limita, #jos, #bula) { visibility: hidden; }

/* sus: numele, cele două părți, limbile, cererea de deviz, meniul */
.bara { position: absolute; top: max(18px, env(safe-area-inset-top, 0px)); left: var(--g); right: var(--g); display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.bara .marca { font-size: 21px; letter-spacing: .02em; }
.stanga { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 24px); }
.parti { pointer-events: auto; display: flex; padding: 3px; border: 1px solid var(--linie); border-radius: 999px; background: rgba(20,20,22,.45); }
.parti button { all: unset; cursor: pointer; padding: 6px 13px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; color: var(--stins); transition: color .3s, background .3s; }
.parti button:hover { color: var(--alb); }
.parti button[aria-pressed="true"] { color: var(--alb); background: rgba(255,255,255,.13); }
.parti button:focus-visible { outline: 2px solid var(--rosu); outline-offset: 2px; }
.parti svg { display: none; }
.dreapta { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 32px); }
.limbi { display: flex; gap: 11px; font-size: 12.5px; letter-spacing: .07em; color: var(--stins); }
.limbi b { color: var(--alb); font-weight: 500; }
.deviz { pointer-events: auto; font-size: 14px; font-weight: 500; color: #0B0B0C; background: var(--alb); border-radius: 999px; padding: 10px 18px; text-decoration: none; white-space: nowrap; }
.meniu { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; color: var(--alb); font-size: 15px; cursor: pointer; }
.meniu i { width: 22px; height: 7px; border-top: 1.5px solid; border-bottom: 1.5px solid; }

/* stânga: fraza, câmpul lui Aizy, întrebările gata făcute, limita */
.erou { position: absolute; inset: 0; opacity: calc(1 - var(--d, 0) * 4.4); transform: translateY(calc(var(--d, 0) * -14vh)); }
html[data-ecran="3"] .erou { visibility: hidden; }
/* zborul: rândul de jos al fiecărui site livrat, cu felul site-ului și linkul; numele e scris pe placa lui, în scenă */
.sit { position: absolute; left: var(--g); right: var(--g); bottom: max(20px, env(safe-area-inset-bottom, 0px)); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; font-size: 15px; line-height: 1.35; color: var(--stins); }
html.js .sit { opacity: 0; visibility: hidden; }
.sit::before { content: ""; position: absolute; z-index: -1; left: calc(var(--g) * -1); right: calc(var(--g) * -1); top: -70px; bottom: calc(max(20px, env(safe-area-inset-bottom, 0px)) * -1); background: linear-gradient(rgba(11,11,12,0), rgba(11,11,12,.8) 60%); }
.sit p { margin: 0; text-wrap: balance; }
.sit span { flex: none; color: var(--alb); }
.sit a { pointer-events: auto; flex: none; color: var(--alb); text-decoration: underline; text-decoration-color: var(--rosu); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.col { position: absolute; left: var(--g); top: 50%; transform: translateY(-50%); width: min(46vw, 720px); }
h1 span { display: block; white-space: nowrap; }
h1 { margin: 0; font-size: clamp(32px, 3.55vw, 56px); font-weight: 400; letter-spacing: -.028em; line-height: 1.07; text-wrap: balance; }
.limita { margin: 14px 0 0; font-size: 12.5px; letter-spacing: .01em; color: var(--stins); }

/* vorba lui Aizy, prinsă cu colțul din dreapta jos lângă el */

/* jos: îndemnul de a derula și locul */
.jos { position: absolute; left: var(--g); right: var(--g); bottom: max(20px, env(safe-area-inset-bottom, 0px)); margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; letter-spacing: .03em; color: var(--stins); }
.deruleaza { display: inline-flex; align-items: center; gap: 11px; }
.deruleaza::before { content: ""; width: 1px; height: 20px; background: linear-gradient(var(--rosu), rgba(255,40,0,0)); animation: coboara 2.2s ease-in-out 3 both; transform-origin: top; }
@keyframes coboara { 0%, 100% { transform: scaleY(.35); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 859px), (max-aspect-ratio: 21/20) {
  .limbi { display: none; }
  .parti { padding: 0; border: 0; background: none; }
  .parti button[aria-pressed="true"] { display: none; }
  .parti button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 7px 9px; border: 1px solid var(--linie); font-size: 13px; color: var(--alb); background: rgba(20,20,22,.45); }
  .parti svg { display: block; color: var(--rosu); }
  .dreapta { gap: 12px; }
  .deviz { font-size: 13px; padding: 8px 13px; }
  .meniu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .col { top: auto; bottom: 74px; right: var(--g); width: auto; transform: none; }
  h1 { font-size: clamp(26px, 7.3vw, 50px); }
  h1 span { display: inline; white-space: normal; }
  .camp { width: 100%; margin-top: 22px; }
  .intrebari { flex-wrap: nowrap; overflow-x: auto; pointer-events: auto; margin-right: calc(var(--g) * -1); padding-right: var(--g); scrollbar-width: none; }
  .intrebari::-webkit-scrollbar { display: none; }
  .intrebari button { flex: none; font-size: 13.5px; padding: 9px 14px; }
  .limita { margin-top: 12px; }
  .bula { font-size: 13px; padding: 10px 12px 11px; }
  .sit { font-size: 13.5px; align-items: flex-end; }
  .jos { font-size: 12px; padding-top: 12px; }
}
@media (max-width: 400px) { .stanga { gap: 8px; } .bara .marca { font-size: 19px; } .parti button { padding: 6px 9px 6px 8px; font-size: 12.5px; gap: 5px; } .dreapta { gap: 9px; } .deviz { padding: 8px 10px; font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .deruleaza::before { animation: none; } }

/* ---------- Pagina « Réalisations » ---------- */
#scena-loc { display: contents; }
#scena-loc canvas { transition: opacity .5s cubic-bezier(.35, 0, 0, 1); }
@media (prefers-reduced-motion: reduce) { #scena-loc canvas { transition: none; } }
.bara a.marca { pointer-events: auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--alb); text-decoration: none; }
.deviz { display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; }
h1 { font-size: clamp(44px, 5.6vw, 92px); letter-spacing: -.04em; line-height: 1; }
.sub { margin: clamp(14px, 2.4vh, 24px) 0 0; font-size: clamp(15px, 1.15vw, 20px); color: var(--stins); }
/* rândul fiecărui site: în zbor, numele e scris pe placa lui și imaginea e filmul din scenă; aici rămân pentru cititorul de ecran și pentru lista fără scenă */
.sit .poza { display: none; }
.sit .nume { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sit a, .sit > span { display: inline-flex; align-items: center; min-height: 44px; }
/* subsolul: vine la capătul zborului și urcă toată scena odată cu el, ca ultimul ecran al unei pagini obișnuite (--ss, din pagina.ts) */
.scena, #ov, .bob, .strat { transform: translateY(calc(-1 * var(--ss, 0px))); }
.subsol { position: relative; z-index: 3; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2vw, 28px); padding: 8px var(--g) max(12px, env(safe-area-inset-bottom, 0px)); background: var(--fond); border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--stins); }
.subsol a, .subsol span { display: inline-flex; align-items: center; min-height: 44px; color: var(--stins); }
.subsol a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-decoration-thickness: 1px; text-underline-offset: .3em; }
@media (max-width: 859px), (max-aspect-ratio: 21/20) { h1 { font-size: clamp(40px, 12vw, 72px); } }

/* Fără scenă (fără JavaScript, fără WebGL cu placă grafică): o pagină obișnuită, cu cele trei site-uri unul sub altul. */
:is(html:not(.js), html.fix), :is(html:not(.js), html.fix) body { height: auto; overflow: auto !important; }
:is(html:not(.js), html.fix) :is(.scena, #ov, .bob, .inaltime, .jos) { display: none; }
:is(html:not(.js), html.fix) .strat { position: static; pointer-events: auto; }
:is(html:not(.js), html.fix) :is(#bara, #fraza, #sub) { visibility: visible !important; }
:is(html:not(.js), html.fix) .bara { position: static; padding: max(18px, env(safe-area-inset-top, 0px)) var(--g) 0; }
:is(html:not(.js), html.fix) .erou { position: static; opacity: 1; transform: none; visibility: visible !important; }
:is(html:not(.js), html.fix) .col { position: static; transform: none; width: auto; padding: clamp(48px, 11vh, 120px) var(--g) clamp(32px, 6vh, 64px); }
:is(html:not(.js), html.fix) #trei { box-sizing: border-box; max-width: calc(56rem + 2 * var(--g)); display: grid; gap: clamp(44px, 8vh, 88px); padding: 0 var(--g) clamp(56px, 10vh, 112px); }
:is(html:not(.js), html.fix) .sit { position: static; opacity: 1 !important; visibility: visible !important; display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: baseline; padding-top: 0; border-top: 0; font-size: 15.5px; }
:is(html:not(.js), html.fix) .sit::before { display: none; }
:is(html:not(.js), html.fix) .sit .poza { display: block; grid-column: 1 / -1; width: 100%; height: auto; margin-bottom: 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); }
:is(html:not(.js), html.fix) .sit .nume { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; grid-column: 1 / -1; font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: var(--alb); }
