/* SHAMSUNA.ae 3D · demo by Velare
   "Midday to night": one continuous flight behind the page, from a single pole under the sun to a whole
   community lit in the desert. On top, the brand as it is: night blue and sun gold from the badge, cream,
   Manrope and IBM Plex Sans Arabic. Simple on purpose: short lines, big numbers, one action per screen. */
:root{
  --night:#06182F; --night-2:#0B2444; --night-3:#102E55; --gold:#E9B949; --gold-2:#F6D179; --cream:#F7F2E7;
  --line:rgba(233,185,73,.28);
  --font:"Manrope","IBM Plex Sans Arabic",Helvetica,Arial,sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
  --gut:clamp(16px,3.6vw,56px);
  --sat:env(safe-area-inset-top,0px); --sab:env(safe-area-inset-bottom,0px);
  --sal:env(safe-area-inset-left,0px); --sar:env(safe-area-inset-right,0px);
  color-scheme:dark;
}
[dir=rtl]{--font:"IBM Plex Sans Arabic","Manrope",Tahoma,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:clip;background:var(--night)}
html,body{overscroll-behavior-y:none}
body{margin:0;font:16px/1.65 var(--font);font-weight:400;color:rgba(247,242,231,.86);background:var(--night);-webkit-font-smoothing:antialiased;overflow-x:clip}
a{color:inherit;text-decoration:none}
p{margin:0}
h1,h2,h3{margin:0;font-weight:800;line-height:1.08;letter-spacing:-.02em;color:var(--cream)}
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3{letter-spacing:0;line-height:1.3;font-weight:700}
h2{font-size:clamp(28px,3.4vw,46px)}
button,input,select{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
::selection{background:var(--gold);color:var(--night)}
.skip{position:fixed;inset-inline-start:12px;top:-80px;z-index:100;background:var(--gold);color:var(--night);padding:10px 14px;font-weight:700}
.skip:focus{top:calc(12px + var(--sat))}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-bottom:14px}
[dir=rtl] .eyebrow{letter-spacing:0;font-size:14px}
[dir=rtl] .flip{transform:scaleX(-1)}

/* ---------------- the film ---------------- */
.film{position:fixed;top:0;left:0;right:0;height:100vh;height:100lvh;z-index:0;overflow:hidden;background:var(--night)}
.film .poster img,.bgvid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 50%}
.bgvid{opacity:0;transition:opacity .8s}
.film.live .bgvid{opacity:1}
.shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(6,24,47,.8) 0%,rgba(6,24,47,.45) 38%,rgba(6,24,47,0) 62%),linear-gradient(180deg,rgba(6,24,47,.55) 0%,rgba(6,24,47,0) 20%)}
[dir=rtl] .shade{background:linear-gradient(270deg,rgba(6,24,47,.8) 0%,rgba(6,24,47,.45) 38%,rgba(6,24,47,0) 62%),linear-gradient(180deg,rgba(6,24,47,.55) 0%,rgba(6,24,47,0) 20%)}

/* ---------------- header ---------------- */
.hdr{position:fixed;left:0;right:0;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:calc(14px + var(--sat)) calc(var(--gut) + var(--sar)) 12px calc(var(--gut) + var(--sal));transition:background .4s}
.brand{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:800;letter-spacing:.04em;color:var(--cream)}
.brand img{width:44px;height:44px}
.brand em{font-style:normal;color:var(--gold)}
.nav{display:flex;gap:4px}
.nav a{padding:12px 14px;font-size:14px;font-weight:500;color:rgba(247,242,231,.88);border-radius:99px;transition:background .25s}
.nav a:hover{background:rgba(247,242,231,.1)}
.hdr-r{display:flex;align-items:center;gap:8px}
.lang{min-height:44px;display:inline-flex;align-items:center;padding:0 12px;font-size:14px;font-weight:500;color:var(--cream);border-radius:99px}
.lang:hover{background:rgba(247,242,231,.1)}
.menu-btn{display:none;width:46px;height:46px;border:1px solid var(--line);border-radius:50%;background:rgba(6,24,47,.5);cursor:pointer;position:relative}
.menu-btn i,.menu-btn i::before,.menu-btn i::after{position:absolute;left:14px;width:16px;height:2px;border-radius:2px;background:var(--cream);transition:transform .3s var(--ease)}
.menu-btn i{top:21px}.menu-btn i::before{content:"";left:0;top:-5px}.menu-btn i::after{content:"";left:0;top:5px}
.menu-btn[aria-expanded=true] i{background:transparent}
.menu-btn[aria-expanded=true] i::before{transform:translateY(5px) rotate(45deg)}
.menu-btn[aria-expanded=true] i::after{transform:translateY(-5px) rotate(-45deg)}
.menu{position:fixed;inset:0;z-index:19;background:var(--night);padding:calc(96px + var(--sat)) calc(var(--gut) + var(--sar)) calc(32px + var(--sab)) calc(var(--gut) + var(--sal));
  display:flex;flex-direction:column;gap:26px;visibility:hidden;opacity:0;transition:opacity .3s,visibility 0s .3s;overflow-y:auto}
.menu[data-open]{visibility:visible;opacity:1;transition:opacity .3s}
.menu ol{list-style:none;margin:0;padding:0}
.menu li a{display:flex;align-items:baseline;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:24px;font-weight:700;color:var(--cream)}
.menu li a span{font-size:12px;color:var(--gold)}
.menu-c{display:flex;flex-direction:column;gap:2px}
.menu-c a{min-height:44px;display:flex;align-items:center}
/* opaque as soon as the page moves: otherwise every chapter slides its text under the logo and the buttons */
.scrolled .hdr,.menu-open .hdr,[data-ch=plan] .hdr{background:rgba(6,24,47,.97);box-shadow:0 1px 0 var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}

/* ---------------- buttons: pills with the sun's gold ---------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;max-width:100%;padding:0 26px;border:0;border-radius:99px;cursor:pointer;
  font-size:15px;font-weight:700;white-space:nowrap;transition:background .25s,color .25s,transform .3s var(--ease),box-shadow .3s}
.btn .ico{flex:none;width:19px;height:19px}
.btn:active{transform:scale(.98)}
.btn-sm{min-height:44px;padding:0 18px;font-size:14px}
.btn-gold{background:var(--gold);color:var(--night);box-shadow:0 0 0 0 rgba(233,185,73,.5)}
.btn-gold:hover{background:var(--gold-2);box-shadow:0 0 30px 2px rgba(233,185,73,.45)}
.btn-line{color:var(--cream);background:rgba(6,24,47,.35);box-shadow:inset 0 0 0 1.5px rgba(247,242,231,.55)}
.btn-line:hover{background:rgba(247,242,231,.14)}

/* ---------------- chapter rail ---------------- */
.rail{position:fixed;inset-inline-end:calc(var(--gut) + var(--sar));top:50%;transform:translateY(-50%);z-index:10;display:flex;flex-direction:column;gap:4px}
.rail a{display:flex;align-items:center;justify-content:flex-end;gap:12px;height:30px}
.rail a i{width:10px;height:10px;border-radius:50%;background:rgba(247,242,231,.3);transition:all .35s var(--ease)}
.rail a em{font-size:13px;font-style:normal;color:var(--cream);opacity:0;transition:opacity .25s;white-space:nowrap}
.rail a.on i{background:var(--gold);box-shadow:0 0 12px 2px rgba(233,185,73,.7)}
.rail a:hover em{opacity:1}

/* ---------------- loader ---------------- */
html.is-loading,html.is-loading body{overflow:hidden;height:100%}
.loader{position:fixed;inset:0;z-index:50;display:grid;place-items:center;touch-action:none;overscroll-behavior:contain;background:radial-gradient(60% 50% at 50% 45%,var(--night-3),var(--night));transition:opacity 1s var(--ease),visibility 0s 1s}
.ld-in{display:flex;flex-direction:column;align-items:center;gap:22px}
.loader img{width:120px;height:120px;animation:glow 2s ease-in-out infinite}
@keyframes glow{50%{filter:drop-shadow(0 0 18px rgba(233,185,73,.55))}}
.ld-bar{width:200px;height:4px;border-radius:4px;background:rgba(247,242,231,.15);overflow:hidden}
.ld-bar i{display:block;height:100%;width:100%;background:var(--gold);transform:scaleX(var(--p,0));transform-origin:left;transition:transform .25s linear}
[dir=rtl] .ld-bar i{transform-origin:right}
.ld-n{font-size:13px;font-weight:500;color:var(--gold);font-variant-numeric:tabular-nums}
.loader.out{opacity:0;visibility:hidden}
@media (prefers-reduced-motion:reduce){.loader img{animation:none}}

/* ---------------- chapters ---------------- */
.chapter{position:relative;z-index:2}
.stage{height:var(--len,240svh)}
:root{--bar:0px}
@supports (height:100lvh){:root{--bar:calc(100lvh - 100svh)}}
.sticky{position:sticky;top:0;height:100vh;height:100lvh;overflow:hidden}

/* 01 · hero: the sun crosses the sky */
.s-hero{--len:220svh}
.sky{position:absolute;left:var(--gut);right:var(--gut);top:calc(96px + var(--sat));height:24lvh;pointer-events:none}
.arc{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.arc path{fill:none;stroke:rgba(247,242,231,.35);stroke-width:1.2;stroke-dasharray:4 6;vector-effect:non-scaling-stroke}
.sun{position:absolute;left:0;top:0;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:radial-gradient(circle,#FFF4C9 0 30%,var(--gold) 60%,rgba(233,185,73,0) 72%);
  box-shadow:0 0 50px 16px rgba(233,185,73,.45);transform:translate(var(--sx,500px),var(--sy,0px));opacity:var(--so,1)}
.clock{position:absolute;inset-inline-end:0;top:-6px;display:flex;flex-direction:column;align-items:flex-end;font-variant-numeric:tabular-nums}
.clock span{font-size:30px;font-weight:800;color:var(--cream);direction:ltr}
.clock small{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.hero-txt{position:absolute;inset-inline-start:calc(var(--gut) + var(--sal));bottom:calc(90px + var(--sab) + var(--bar));max-width:620px}
.s-hero h1{font-size:clamp(36px,5vw,68px)}
.s-hero h1 em{display:block;font-style:normal;color:var(--gold)}
.lede{margin-top:18px;max-width:48ch;font-size:17px}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0}
.chips li{padding:7px 14px;border-radius:99px;font-size:13px;font-weight:700;color:var(--cream);background:rgba(6,24,47,.55);box-shadow:inset 0 0 0 1px var(--line)}
.chips li::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);margin-inline-end:8px;vertical-align:1px}
.cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}

/* 02 / 03 · the two poles: spec on one side, a gauge on the other */
.s-pole{--len:260svh}
.s-pole .sticky{display:grid;grid-template-columns:minmax(0,480px) 1fr;align-items:center;gap:clamp(24px,5vw,90px);
  padding:calc(96px + var(--sat)) calc(var(--gut) + var(--sar) + 50px) calc(40px + var(--sab) + var(--bar)) calc(var(--gut) + var(--sal))}
[dir=rtl] .s-pole .sticky{padding-left:calc(var(--gut) + var(--sal) + 50px);padding-right:calc(var(--gut) + var(--sar))}
.price{display:flex;align-items:baseline;gap:10px;margin:14px 0 18px;flex-wrap:wrap}
.price b{font-size:clamp(40px,4.6vw,60px);font-weight:800;color:var(--gold);letter-spacing:-.02em;direction:ltr}
.price small{font-size:14px;color:rgba(247,242,231,.75)}
.spec{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.spec div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}
.spec dt{font-size:13px;color:rgba(247,242,231,.7)}
.spec dd{margin:0;font-size:14px;font-weight:700;color:var(--cream);text-align:end}
.for{margin:16px 0 20px;font-size:14px}
.for b{color:var(--gold);font-weight:700}
.gauge{justify-self:center;display:flex;align-items:flex-end;gap:28px}
.hrs{display:flex;flex-direction:column;max-width:170px}
.hrs b{font-size:clamp(60px,7vw,96px);font-weight:800;line-height:.95;color:var(--cream);letter-spacing:-.03em}
.hrs span{font-size:15px;font-weight:700;color:var(--gold)}
.hrs small{font-size:13px;color:rgba(247,242,231,.7)}
/* battery */
.batt{position:relative;width:110px;height:min(46lvh,340px);border:3px solid var(--cream);border-radius:18px;padding:7px;background:rgba(6,24,47,.5)}
.batt-cap{position:absolute;left:50%;top:-14px;width:40px;height:10px;margin-left:-20px;border-radius:5px 5px 0 0;background:var(--cream)}
.batt-fill{position:absolute;left:7px;right:7px;bottom:7px;height:calc((100% - 14px) * min(1, var(--p,0) * 1.4));border-radius:10px;background:linear-gradient(0deg,var(--gold),var(--gold-2));box-shadow:0 0 30px rgba(233,185,73,.5)}
.batt-n{position:absolute;inset:auto 0 12px 0;text-align:center;line-height:1;color:var(--night);mix-blend-mode:normal;direction:ltr}
.batt-n b{display:block;font-size:24px;font-weight:800}
.batt-n small{font-size:11px;font-weight:700}
/* the pole's own solar strip, cell by cell, then the head */
.strip2{position:relative;display:flex;flex-direction:column-reverse;gap:5px;width:44px;padding:6px;height:min(50lvh,360px);border-radius:10px;background:rgba(247,242,231,.92)}
.strip2 i{flex:1;border-radius:3px;background:#1C3557;transition:background .4s,box-shadow .4s}
.strip2 i{background:color-mix(in srgb,#2D6CB5 calc(clamp(0, (var(--p,0) * 1.5 - var(--k) * .1) * 5, 1) * 100%),#1C3557)}
.head{position:absolute;left:50%;top:-30px;width:70px;height:22px;margin-left:-8px;border-radius:0 12px 12px 0;background:var(--cream);
  box-shadow:0 18px 50px 10px rgba(255,236,170,calc(clamp(0, var(--p,0) * 3 - 1.8, 1) * .9))}
[dir=rtl] .head{margin-left:-62px;border-radius:12px 0 0 12px}

/* 04 · what you get: four lamps switch on along a line */
.s-inc{--len:240svh}
.s-inc .sticky{display:flex;flex-direction:column;justify-content:center;gap:34px;padding:calc(96px + var(--sat)) calc(var(--gut) + var(--sar) + 50px) calc(40px + var(--sab) + var(--bar)) calc(var(--gut) + var(--sal));
  background:linear-gradient(180deg,rgba(6,24,47,.55),rgba(6,24,47,.72))}
/* the chapter rail sits on the inline-end side (dots from ~155px to ~100px off the edge): keep the four columns clear of it */
.s-inc .sticky{padding-inline-end:calc(var(--gut) + var(--sar) + 150px)}
[dir=rtl] .s-inc .sticky{padding-inline-end:calc(var(--gut) + var(--sal) + 150px)}
.lamps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative}
.lamps::before{content:"";position:absolute;left:0;right:0;top:9px;height:2px;background:var(--line)}
.lamps li{position:relative;opacity:calc(.35 + .65 * clamp(0, (var(--p,0) * 5 - var(--i) * .9 - .2), 1))}
.lamp{display:block;width:20px;height:20px;border-radius:50%;background:var(--night-3);border:2px solid var(--gold);margin-bottom:18px;position:relative;
  box-shadow:0 0 calc(clamp(0, (var(--p,0) * 5 - var(--i) * .9 - .2), 1) * 34px) calc(clamp(0, (var(--p,0) * 5 - var(--i) * .9 - .2), 1) * 8px) rgba(233,185,73,.8)}
.lamp::after{content:"";position:absolute;inset:2px;border-radius:50%;background:var(--gold-2);opacity:clamp(0, (var(--p,0) * 5 - var(--i) * .9 - .2), 1)}
.lamps .n{font-size:13px;font-weight:800;color:var(--gold)}
.lamps h3{font-size:21px;margin:4px 0 8px}
.lamps p{font-size:14.5px}
.legal{max-width:70ch;font-size:13px;color:rgba(247,242,231,.65)}

/* 05 · plan your run */
.s-plan{min-height:100svh;padding:22svh calc(var(--gut) + var(--sar) + 50px) calc(40px + var(--sab)) calc(var(--gut) + var(--sal));background:linear-gradient(180deg,transparent,rgba(6,24,47,.75) 22%,rgba(6,24,47,.94))}
[dir=rtl] .s-plan{padding-left:calc(var(--gut) + var(--sal) + 50px);padding-right:calc(var(--gut) + var(--sar))}
.plan-in{max-width:880px}
.run{position:relative;height:70px;margin:30px 0 8px}
.road{position:absolute;left:0;right:0;bottom:8px;height:2px;background:rgba(247,242,231,.4)}
.posts{position:absolute;inset:0 0 8px 0;display:flex;justify-content:space-between;align-items:flex-end}
.posts i{width:2px;height:44px;background:var(--cream);position:relative}
.posts i::before{content:"";position:absolute;top:-2px;left:-6px;width:14px;height:4px;border-radius:2px;background:var(--cream)}
.posts i::after{content:"";position:absolute;top:2px;left:-12px;width:26px;height:26px;border-radius:50%;background:radial-gradient(circle,rgba(246,209,121,.7),rgba(246,209,121,0) 70%)}
.calc{display:grid;grid-template-columns:1fr 1fr;gap:18px 30px;align-items:end}
.calc label{display:grid;grid-template-columns:1fr auto;gap:8px 12px;font-size:14px;font-weight:500}
.calc output{font-weight:800;color:var(--cream);font-variant-numeric:tabular-nums}
.calc input[type=range]{grid-column:1/-1;width:100%;accent-color:var(--gold);height:30px}
.seg{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
.seg button{min-height:44px;padding:0 18px;border-radius:99px;border:0;cursor:pointer;background:rgba(247,242,231,.1);color:var(--cream);font-size:14px;font-weight:700;box-shadow:inset 0 0 0 1px var(--line)}
.seg button.on{background:var(--cream);color:var(--night)}
.result{grid-column:1/-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.result b{font-size:clamp(40px,5vw,64px);font-weight:800;color:var(--cream);line-height:1;letter-spacing:-.02em}
.result #budget{color:var(--gold);margin-inline-start:12px}
.result span{font-size:16px;font-weight:700}
.result small{flex-basis:100%;font-size:13px;color:rgba(247,242,231,.65)}
.calc .btn{justify-self:start}
.note{align-self:center;font-size:13px;color:rgba(247,242,231,.65)}
.foot{margin-top:60px;display:grid;grid-template-columns:auto 1fr;gap:14px 18px;align-items:center;font-size:14px}
.foot img{width:64px;height:64px}
.foot a{color:var(--gold);min-height:44px;display:inline-flex;align-items:center;font-weight:700}
.fine{grid-column:1/-1;font-size:12px;color:rgba(247,242,231,.5)}

/* ---------------- tablet & phone ---------------- */
@media (max-width:1100px){.nav{display:none}}
@media (max-width:760px), (max-aspect-ratio:9/10){
  body{font-size:15px}
  .brand span{display:none}
  .brand img{width:40px;height:40px}
  .hdr-r .btn span{display:none}
  .hdr-r .btn{width:44px;padding:0}
  .menu-btn{display:block}
  .rail{display:none}
  .shade,[dir=rtl] .shade{background:linear-gradient(180deg,rgba(6,24,47,.6) 0%,rgba(6,24,47,.05) 26%,rgba(6,24,47,.2) 50%,rgba(6,24,47,.9) 100%)}
  h2{font-size:28px}

  .sky{top:calc(80px + var(--sat));height:16lvh}
  .clock span{font-size:22px}
  .hero-txt{inset-inline-end:var(--gut);bottom:calc(28px + var(--sab) + var(--bar))}
  .s-hero h1{font-size:36px}
  .lede{font-size:15px;margin-top:12px}
  .chips{margin-top:14px}
  .chips li{font-size:12px;padding:6px 11px}
  .cta{margin-top:18px}
  .cta .btn{flex:1 1 auto}

  .s-pole .sticky,[dir=rtl] .s-pole .sticky{display:flex;flex-direction:column;justify-content:flex-end;gap:14px;padding:calc(80px + var(--sat)) var(--gut) calc(18px + var(--sab) + var(--bar));
    background:linear-gradient(180deg,rgba(6,24,47,0) 20%,rgba(6,24,47,.88) 52%)}
  .gauge{order:-1;flex:none;gap:18px;justify-self:auto;align-self:flex-start;margin-bottom:auto}
  .batt{width:62px;height:150px;border-width:2px;border-radius:12px;padding:5px}
  .batt-cap{width:24px;margin-left:-12px;top:-9px;height:7px}
  .batt-n b{font-size:14px}
  .strip2{width:30px;height:160px;padding:4px;gap:3px}
  .head{width:48px;height:16px;top:-22px;margin-left:-6px}
  [dir=rtl] .head{margin-left:-42px}
  .hrs b{font-size:56px}
  .price{margin:8px 0 10px}
  .price b{font-size:40px}
  .spec div{padding:6px 0}
  .spec dt{font-size:12px}.spec dd{font-size:13px}
  .for{margin:10px 0 12px;font-size:13px}

  .s-inc .sticky{justify-content:flex-end;gap:20px;padding:calc(84px + var(--sat)) var(--gut) calc(20px + var(--sab) + var(--bar));background:linear-gradient(180deg,rgba(6,24,47,.2),rgba(6,24,47,.9) 45%)}
  .lamps{grid-template-columns:1fr;gap:14px}
  .lamps::before{left:9px;right:auto;top:10px;bottom:10px;width:2px;height:auto}
  [dir=rtl] .lamps::before{left:auto;right:9px}
  .lamps li{display:grid;grid-template-columns:20px 1fr;gap:0 14px}
  .lamp{grid-row:1/4;margin:0}
  .lamps h3{font-size:18px;margin:0 0 2px}
  .lamps p{font-size:13.5px}
  .legal{font-size:12px}

  .s-plan,[dir=rtl] .s-plan{padding:18svh var(--gut) calc(30px + var(--sab))}
  .calc{grid-template-columns:1fr}
  .calc .btn{justify-self:stretch}
}
@media (max-height:700px) and (max-aspect-ratio:9/10){
  .lede{display:none}
  .s-pole .for{display:none}
  .lamps p{display:none}
}
@media (hover:none){.rail a em{display:none}}

/* ---------------------------------------------------------------- quotation form + newsletter */
.qform{margin-top:70px;padding-top:44px;border-top:1px solid var(--line)}
.qform h2{margin-bottom:26px}
#form{display:grid;gap:16px}
#form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#form label{display:grid;gap:8px;font-size:13px;font-weight:600;color:rgba(247,242,231,.75)}
#form input:not([type=checkbox]):not([type=file]),#form select,#form textarea,.news input[type=email]{
  width:100%;min-height:52px;padding:12px 16px;border-radius:14px;
  font:400 16px/1.45 var(--font);color:var(--cream);   /* 16px: under that iOS zooms on focus */
  background:rgba(6,24,47,.55);border:1px solid rgba(247,242,231,.2);-webkit-appearance:none;appearance:none}
#form select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9B949' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:18px;padding-inline-end:44px}
[dir=rtl] #form select{background-position:left 14px center}
#form textarea{resize:vertical;min-height:100px}
#form input:focus,#form select:focus,#form textarea:focus,.news input:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:transparent}
.attach{position:relative}
#form .attach-btn{position:relative;display:flex;align-items:center;gap:12px;min-height:54px;padding:0 16px;border:1.5px dashed rgba(233,185,73,.6);border-radius:14px;cursor:pointer;font-size:15px;font-weight:600;color:var(--cream)}
.attach-btn input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.attach-btn:focus-within{outline:2px solid var(--gold);outline-offset:2px}
.attach-btn svg{width:22px;height:22px;flex:none;fill:none;stroke:var(--gold);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hint{margin-top:8px;font-size:13px;color:rgba(247,242,231,.6)}
.file-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.file-list li{display:flex;align-items:center;gap:10px;padding-block:6px;padding-inline:14px 4px;border-radius:12px;background:rgba(247,242,231,.07);font-size:14px}
.file-list .fn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-list .fs{color:rgba(247,242,231,.6);font-size:12.5px;font-variant-numeric:tabular-nums}
.file-list button{width:44px;height:44px;flex:none;border:0;border-radius:50%;background:transparent;color:rgba(247,242,231,.7);font-size:22px;line-height:1;cursor:pointer}
#form label.check{display:flex;align-items:center;gap:12px;min-height:44px;font-size:15px;font-weight:500;color:var(--cream);cursor:pointer}
.check input{width:22px;height:22px;flex:none;accent-color:var(--gold)}
#form .btn{justify-self:start}
.status{min-height:1.4em;font-size:14px}
.status.ok{color:#8fd694}.status.err{color:#ff9a8a}
button[disabled]{opacity:.6;cursor:progress}
/* hidden without offset: a negative left overflows the page in Arabic (RTL) */
.hp{position:absolute !important;left:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
#form,.news-row{position:relative}
.news{grid-column:1/-1;margin-bottom:26px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.news p:first-child{font-size:16px;font-weight:700;color:var(--cream);margin-bottom:12px}
.news-row{display:flex;gap:10px;flex-wrap:wrap}
.news-row input[type=email]{flex:1 1 200px;width:auto;min-width:0}   /* min-width:0, sinon le champ garde sa largeur naturelle et deborde sur 320 px */
@media (max-width:700px){
  #form .row{grid-template-columns:1fr}
  #form .btn{justify-self:stretch}
  .news-row .btn{flex:1 1 100%}
}

/* the real pole, photographed: on a phone the vertical crop of the film leaves the poles tiny,
   so the photo Izzat validated takes the place of the gauge (the hours stay in the spec table) */
.pole-photo{display:none}
@media (max-width:760px), (max-aspect-ratio:9/10){
  .s-pole .gauge{display:none}
  /* the photo takes exactly the room the text leaves: no gap on tall phones, never under the header on small ones */
  .pole-photo{display:block;order:-1;flex:1 1 0;min-height:0;max-height:46svh;width:100%;object-fit:cover;object-position:50% 40%;
    border-radius:18px;box-shadow:0 18px 40px rgba(0,0,0,.45),0 0 0 1px rgba(233,185,73,.35)}
}
