/* Lumina Energy, consulting page, v4 (2026-11-25).
   Editorial layout: section title in a narrow left column, text on the right, hairlines instead of
   boxes, no list markers, a lighter serif for headings and generous spacing. Palette, fonts and logo
   from the Lumina homepage; one quiet warm glow at the top. */
:root{
  --night:#1C2433;
  --cream:#F1EADD; --cream-2:#CFC6B7; --mute:#9C958A;
  --gold:#E3B866;
  --hair:rgba(241,234,221,.12); --hair-2:rgba(241,234,221,.22);
  --serif:'Newsreader','Iowan Old Style','Times New Roman',serif;
  --body:'Sora',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --gut:clamp(22px,5vw,64px);
  color-scheme:dark;
}
*{box-sizing:border-box;}
html,body{margin:0; padding:0; background:var(--night);}
html{scroll-behavior:smooth;}
body{font-family:var(--body); font-weight:300; font-size:16px; line-height:1.75; color:var(--cream-2);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; overflow-x:hidden; position:relative;
  font-feature-settings:"lnum" 1;}
a{color:var(--cream); text-decoration:underline; text-decoration-color:rgba(241,234,221,.35); text-decoration-thickness:1px; text-underline-offset:4px;
  transition:color .15s ease,text-decoration-color .15s ease;}
a:hover{color:var(--gold); text-decoration-color:var(--gold);}
::selection{background:rgba(227,184,102,.3);}
:focus-visible{outline:1px solid var(--gold); outline-offset:4px;}
.skip{position:absolute; left:-9999px; top:0; z-index:40; background:var(--cream); color:var(--night); font-weight:500;
  font-size:14px; padding:12px 18px; text-decoration:none;}
.skip:focus{left:0;}

/* the sun behind the page: fixed, it travels with the scroll (placed by the script) */
.sky{position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden;}
.sun{position:absolute; left:0; top:0; width:82vmax; height:82vmax; will-change:transform;
  transform:translate3d(calc(10vw - 50%),calc(68vh - 50%),0);}
.sun i{position:absolute; inset:0; border-radius:50%; animation:breathe 16s ease-in-out infinite alternate;}
.sun .r{background:radial-gradient(circle,rgba(210,83,42,.30) 0,rgba(210,83,42,.14) 34%,rgba(210,83,42,0) 64%);}
.sun .g{background:radial-gradient(circle,rgba(242,196,107,.40) 0,rgba(233,162,59,.15) 30%,rgba(233,162,59,0) 58%); opacity:.2;}
@keyframes breathe{from{transform:scale(1);} to{transform:scale(1.05);}}
main,.foot,.nav{position:relative; z-index:1;}

/* nav */
.nav{position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:20px var(--gut); border-bottom:1px solid transparent; transition:padding .2s ease,background-color .2s ease,border-color .2s ease;}
.nav.stuck{padding-top:10px; padding-bottom:10px; background:rgba(28,36,51,.96); border-bottom-color:var(--hair);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);}
.brand{display:block; flex:none; text-decoration:none;}
.brand svg{display:block; height:62px; width:auto; transition:height .2s ease;}
.nav.stuck .brand svg{height:48px;}
.navlinks{display:flex; align-items:center; gap:34px;}
.navlinks a{color:var(--cream-2); text-decoration:none; font-size:14px; letter-spacing:.02em;}
.navlinks a:hover{color:var(--cream);}
.navlinks a.contact{color:var(--cream); border:1px solid var(--hair-2); padding:8px 18px; border-radius:2px;}
.navlinks a.contact:hover{border-color:var(--cream);}

.wrap{max-width:1180px; margin:0 auto; padding:0 var(--gut);}

/* type */
h1,h2,h3{color:var(--cream); font-family:var(--serif); font-weight:350; margin:0;}
h1{font-size:clamp(40px,5vw,66px); line-height:1.06; letter-spacing:-.012em; max-width:17ch;}
h2{font-size:clamp(28px,2.4vw,34px); line-height:1.15; letter-spacing:-.005em;}
h3{font-size:clamp(22px,1.9vw,26px); line-height:1.25;}
p{margin:0 0 18px;}
p:last-child{margin-bottom:0;}
.muted{color:var(--mute);}
.small{font-size:14px; line-height:1.65;}

/* buttons */
.btn{display:inline-block; background:var(--cream); color:var(--night); font-weight:500; font-size:14.5px; letter-spacing:.02em;
  line-height:1.2; padding:15px 28px; border-radius:2px; text-decoration:none; transition:background .15s ease;}
.btn:hover{background:#fff; color:var(--night);}
.quiet{font-size:14.5px; letter-spacing:.02em;}

/* hero */
.hero{padding:clamp(72px,10vw,150px) 0 clamp(64px,8vw,110px);}
.hero .sub{max-width:60ch; margin:30px 0 0; font-size:clamp(17px,1.35vw,19px); line-height:1.7; color:var(--cream-2);}
.actions{display:flex; align-items:center; gap:30px; flex-wrap:wrap; margin-top:40px;}
.creds-wrap{position:relative; margin-top:clamp(84px,8vw,116px);}
.ground{height:0; border-top:1px solid var(--hair-2);}

/* sections: title left, text right */
.sec{padding:clamp(64px,8vw,112px) 0; border-top:1px solid var(--hair);}
.grid{display:grid; grid-template-columns:minmax(0,4fr) minmax(0,8fr); gap:28px clamp(40px,6vw,96px);}
.side h2{margin-bottom:20px;}
.side p{font-size:15px; line-height:1.7; max-width:34ch;}
.body{max-width:700px;}
.lead{font-family:var(--serif); font-weight:350; font-size:clamp(20px,1.7vw,23px); line-height:1.55; color:var(--cream); margin-bottom:26px;}

/* services */
.svc{padding:0 0 40px; margin:0 0 40px; border-bottom:1px solid var(--hair);}
.svc h3{margin-bottom:12px;}
.svc > p{color:var(--cream-2); margin-bottom:20px;}
.scope{list-style:none; margin:0; padding:0;}
.scope li{padding:10px 0; border-top:1px solid var(--hair); font-size:15px; line-height:1.55; color:var(--cream);}
.scope li:first-child{border-top:0; padding-top:0;}
.minor{font-size:clamp(20px,1.6vw,22px); margin:8px 0 18px;}
.spec{margin:0;}
.spec div{padding:18px 0; border-top:1px solid var(--hair);}
.spec div:first-child{border-top:0; padding-top:0;}
.spec dt{color:var(--cream); font-weight:400; font-size:15.5px;}
.spec dd{margin:6px 0 0; font-size:15px; line-height:1.65;}

/* fees */
.fees{margin:0 0 26px; border-top:1px solid var(--hair-2);}
.fees div{display:flex; justify-content:space-between; align-items:baseline; gap:24px; padding:20px 0; border-bottom:1px solid var(--hair);}
.fees dt{font-size:15.5px; color:var(--cream-2);}
.fees dd{margin:0; font-family:var(--serif); font-weight:350; font-size:30px; line-height:1; color:var(--cream); white-space:nowrap;
  font-variant-numeric:lining-nums tabular-nums;}
.fees dd.word{font-family:var(--body); font-weight:300; font-size:15.5px; color:var(--cream); white-space:normal; text-align:right; max-width:16ch; line-height:1.5;}

/* about */
.facts{margin:34px 0 0; border-top:1px solid var(--hair-2);}
.facts div{display:grid; grid-template-columns:140px minmax(0,1fr); gap:4px 24px; padding:13px 0; border-bottom:1px solid var(--hair); font-size:15px;}
.facts dt{color:var(--mute);}
.facts dd{margin:0; color:var(--cream);}

/* resources */
.res{padding:0 0 28px; margin:0 0 28px; border-bottom:1px solid var(--hair);}
.res:last-child{border-bottom:0; margin-bottom:0; padding-bottom:0;}
.res h3{margin-bottom:10px;}

/* contact */
.sign{margin:0 0 30px; font-size:15px; line-height:1.7;}
.sign .name{font-family:var(--serif); font-size:22px; color:var(--cream);}
.mail{margin:26px 0 0; font-size:15px;}

/* footer */
.foot{border-top:1px solid var(--hair); padding:34px 0 46px; font-size:13px; color:var(--mute);}
.foot .wrap{display:flex; justify-content:space-between; align-items:flex-end; gap:20px 40px; flex-wrap:wrap;}
.foot .brand svg{height:46px; opacity:.85;}
.foot p{margin:0; text-align:right;}

@media (max-width:900px){
  .grid{grid-template-columns:1fr; gap:22px;}
  .side p{max-width:none;}
  .navlinks a:not(.contact){display:none;}
}
@media (max-width:560px){
  body{font-size:15.5px;}
  .brand svg{height:50px;} .nav.stuck .brand svg{height:40px;}
  .fees div{flex-direction:column; align-items:flex-start; gap:6px;}
  .fees dd.word{text-align:left; max-width:none;}
  .facts div{grid-template-columns:1fr; gap:2px;}
  .foot p{text-align:left;}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .nav,.brand svg,a,.btn{transition:none;}
}
@media print{
  .sky,.navlinks{display:none !important;}
  html,body{background:#fff; color:#1F1B17;}
  h1,h2,h3,.lead,.scope li,.spec dt,.fees dd,.facts dd{color:#1F1B17;}
}

/* ---------------------------------------------------------------- motion
   Calm and slow: the hero rises once on load, content settles as it comes into view, section rules
   draw in, the glow drifts. Everything is visible without JavaScript and with reduced motion. */

.js .rise{animation:rise 1.1s cubic-bezier(.2,.7,.2,1) both; animation-delay:calc(var(--d,0) * 130ms + 100ms);}
@keyframes rise{from{opacity:0; transform:translateY(22px);} to{opacity:1; transform:none;}}

.js .rv{opacity:0; transform:translateY(18px); transition:opacity 1s cubic-bezier(.2,.7,.2,1),transform 1s cubic-bezier(.2,.7,.2,1);}
.js .rv.in{opacity:1; transform:none;}
.js .scope li,.js .spec > div{opacity:0; transform:translateY(8px); transition:opacity .7s ease,transform .7s ease;
  transition-delay:calc(var(--i,0) * 80ms + 250ms);}
.js .svc.in .scope li,.js .spec.in > div{opacity:1; transform:none;}

.sec{border-top:0; position:relative;}
.sec::before{content:""; position:absolute; left:0; right:0; top:0; height:1px; background:var(--hair-2); transform-origin:left center;}
.js .sec::before{transform:scaleX(0); transition:transform 1.6s cubic-bezier(.2,.7,.2,1);}
.js .sec.in::before{transform:scaleX(1);}

/* nav: thin reading-progress line and the current section */
.nav::after{content:""; position:absolute; left:0; bottom:-1px; width:100%; height:1px; background:var(--gold); opacity:.65;
  transform-origin:left center; transform:scaleX(var(--p,0));}
.navlinks a{position:relative;}
.navlinks a:not(.contact)::after{content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px; background:var(--gold);
  transform:scaleX(0); transform-origin:left center; transition:transform .4s ease;}
.navlinks a.on:not(.contact)::after,.navlinks a:not(.contact):hover::after{transform:scaleX(1);}
.navlinks a.on{color:var(--cream);}

/* section titles stay beside the text on wide screens; service titles warm up on hover */
@media (min-width:901px){ .side{position:sticky; top:112px; align-self:start;} }
.svc h3{transition:color .35s ease;}
.svc:hover h3{color:var(--gold);}
.btn{transition:background .2s ease,transform .2s ease;}
.btn:hover{transform:translateY(-1px);}

/* ---------------------------------------------------------------- solar and storage details
   Hero: an elevation drawing standing on the hairline above the credentials. Four fixed-tilt rows
   (2 modules in portrait, 20 degrees), an MV station and a 40 ft BESS container, joined by a buried cable.
   The ground of the drawing sits exactly on the hairline: 15 of its 55 viewBox units lie below ground. */
.scene{position:absolute; right:0; bottom:100%; width:min(820px,72%); height:auto; transform:translateY(27.27%); overflow:visible;}
.scene path{fill:none; stroke:rgba(241,234,221,.5); stroke-width:1.1; stroke-linecap:round; stroke-linejoin:round;}
.scene .pv{stroke:rgba(241,234,221,.82); stroke-width:1.8;}
.scene .gr{stroke:rgba(241,234,221,.0);}
.scene .cable-r{stroke:rgba(227,184,102,.45); stroke-width:1; stroke-dasharray:1.6 2.2;}
.scene .cable{stroke:rgba(227,184,102,.7); stroke-width:1.1; stroke-dasharray:3 5; animation:flow 7s linear infinite;}
@keyframes flow{to{stroke-dashoffset:-80;}}
.js .scene path[pathLength]{stroke-dasharray:1; stroke-dashoffset:1; animation:draw 1.5s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay:calc(var(--i,0) * 40ms + 700ms);}
@keyframes draw{to{stroke-dashoffset:0;}}
.js .scene .cable-r{opacity:0; animation:appear .9s ease 2.3s forwards;}
.js .scene .cable{opacity:0; animation:appear .9s ease 2.3s forwards,flow 7s linear 2.3s infinite;}
@keyframes appear{to{opacity:1;}}


@media (max-width:900px){ .scene{width:100%;} }

@media (prefers-reduced-motion:reduce){
  .js .scene path[pathLength]{stroke-dasharray:none; stroke-dashoffset:0; animation:none;}
  .scene .cable,.scene .cable-r,.js .scene .cable,.js .scene .cable-r{animation:none; opacity:1;}
  .sun i{animation:none;}
  .js .rise,.js .rv,.js .scope li,.js .spec > div{opacity:1; transform:none; animation:none; transition:none;}
  .js .sec::before{transform:scaleX(1); transition:none;}
  .navlinks a::after,.svc h3,.btn{transition:none;}
  .btn:hover{transform:none;}
}

/* ---------------------------------------------------------------- hero video (2026-11-30)
   A silent seamless loop (variant C) behind the headline. The media runs up behind
   the transparent nav and fades into the page at the bottom; a night-blue veil on the left keeps the
   headline readable. The line drawing is hidden then, as the picture already shows the plant. */
:root{--navh:102px;}
.hero{position:relative;}
.hero > .wrap{position:relative; z-index:1;}
.hero-media{display:none; position:absolute; left:0; right:0; bottom:0; top:calc(-1 * var(--navh)); z-index:0;
  overflow:hidden; background:var(--night) 50% 50%/cover no-repeat;}
.hero-media video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1.4s ease;}
.hero-media video.on{opacity:1;}
.hero-media::after{content:""; position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(180deg,rgba(28,36,51,.5) 0,rgba(28,36,51,0) 20%,rgba(28,36,51,0) 64%,rgba(28,36,51,.66) 88%,var(--night) 100%),
    linear-gradient(90deg,rgba(28,36,51,var(--veil,.84)) 0,rgba(28,36,51,calc(var(--veil,.84) * .7)) 38%,rgba(28,36,51,.08) 66%,rgba(28,36,51,0) 100%);}
[data-hero] .hero-media{display:block;}
[data-hero] .hero{min-height:min(calc(100svh - var(--navh)),880px); padding-bottom:clamp(150px,18vw,260px);}
[data-hero] .creds-wrap{display:none;}
[data-hero] .hero h1,[data-hero] .hero .sub{text-shadow:0 1px 24px rgba(28,36,51,.45);}
[data-hero="c"] .hero-media{background-image:url(hero/hero-c.jpg?v=2); background-position:60% 58%; --veil:.74;}
[data-hero="c"] .hero-media video{object-position:60% 58%;}
@media (max-width:560px){ :root{--navh:90px;} }
/* narrow screens: the text runs the full width, so the veil is even across it and the sun sits lower right */
@media (max-width:900px){
  .hero-media::after{background:linear-gradient(180deg,rgba(28,36,51,.6) 0,rgba(28,36,51,.66) 40%,rgba(28,36,51,.5) 66%,rgba(28,36,51,.72) 88%,var(--night) 100%);}
  [data-hero="c"] .hero-media{background-position:66% 50%;}
  [data-hero="c"] .hero-media video{object-position:66% 50%;}
}
@media (prefers-reduced-motion:reduce){ .hero-media video{display:none;} }
@media print{ .hero-media{display:none !important;} }

/* ---------------------------------------------------------------- imprint (2026-11-30) */
.legal-head{padding:clamp(56px,7vw,104px) 0 clamp(36px,4vw,60px);}
.legal-head h1{max-width:none;}
.legal-head .sub{max-width:60ch; margin:22px 0 0; color:var(--cream-2);}
.legal-sec{padding:clamp(40px,5vw,64px) 0;}
.legal-sec .facts{margin-top:0;}
.legal-sec .facts div{grid-template-columns:180px minmax(0,1fr);}
.legal-sec .minor{margin:0 0 10px;}
.legal-sec .minor ~ .minor{margin-top:26px;}
.foot .legal a{color:var(--mute); text-decoration-color:rgba(156,149,138,.4);}
.foot .legal a:hover{color:var(--cream);}
.foot .legal a[aria-current="page"]{color:var(--cream-2);}
@media (max-width:560px){ .legal-sec .facts div{grid-template-columns:1fr;} }
