@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:400; font-display:swap; src:url("assets/fonts/source-sans-3/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:500; font-display:swap; src:url("assets/fonts/source-sans-3/source-sans-3-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:600; font-display:swap; src:url("assets/fonts/source-sans-3/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:700; font-display:swap; src:url("assets/fonts/source-sans-3/source-sans-3-latin-700-normal.woff2") format("woff2"); }
:root { color-scheme:dark; --ink:#f4f7fc; --muted:#b7c5d9; --blue:#2356d8; --accent:#9bbfff; --paper:#0b1321; --soft:#121f33; --line:#2a3b52; --night:#080e19; --body:"Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif; --heading:"Bahnschrift","Avenir Next","Source Sans 3",system-ui,sans-serif; --gutter:clamp(22px,6vw,90px); }
* { box-sizing:border-box; min-width:0; }
body,h1,h2,h3,h4,p,ul,ol,dl,dd { margin:0; }
html { background:var(--night); scroll-padding-top:calc(var(--header-height,64px) + 12px); }
html.scene-loading,body.scene-loading { overflow:hidden; overscroll-behavior:none; touch-action:none; }
.scene-loading a,.scene-loading button { cursor:wait; }
.scene-loading .button { opacity:.55; }
body { min-height:100vh; min-height:100svh; background:var(--night); color:var(--ink); font:400 1.125rem/1.6 var(--body); -webkit-font-smoothing:antialiased; }
/* Keep an opaque edge under mobile browser chrome, above the fixed 3D canvas. */
@media (hover:none) and (pointer:coarse) {
  body::after { content:""; position:fixed; inset:auto 0 0; height:max(1px,env(safe-area-inset-bottom,0px)); background:var(--night); z-index:40; pointer-events:none; }
}
h1,h2,h3,h4,p,a,dt,dd { overflow-wrap:anywhere; }
/* Native display faces, with the bundled family as a cross-platform fallback. */
h1,h2,h3,h4 { font-family:var(--heading); text-wrap:balance; }
a { color:inherit; text-decoration:none; }
button { cursor:pointer; font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
img { display:block; max-width:100%; }
[hidden] { display:none!important; }
:focus-visible { outline:3px solid var(--accent); outline-offset:5px; }
::selection { color:#14263c; background:#c7d9ff; }
.skip-link { position:fixed; left:18px; top:12px; z-index:100; padding:10px 18px; background:var(--soft); color:var(--ink); transform:translateY(-180%); }
.skip-link:focus { transform:none; }

/* A conventional navigation bar gives the scene a quiet frame. */
#site-header { position:fixed; inset:0 0 auto; z-index:30; display:flex; align-items:center; justify-content:space-between; gap:32px; min-height:64px; padding:3px var(--gutter); padding-top:max(3px,env(safe-area-inset-top)); background:var(--night); color:#f4f7fc; }
#site-header.scrolled { box-shadow:0 1px 0 rgba(244,247,252,.12); }
#site-header :focus-visible { outline-color:#a8c3fa; }
.brand { display:inline-flex; align-items:center; flex-shrink:0; min-height:44px; }
.brand img { width:132px; height:auto; }
#site-header .brand img { width:104px; }
#main-nav { display:flex; align-items:center; gap:40px; }
#main-nav a { display:flex; align-items:center; min-height:44px; font-size:1.0625rem; font-weight:500; }
.menu-toggle { display:none; align-items:center; gap:12px; min-height:44px; padding:8px 4px 8px 12px; border:0; color:inherit; background:transparent; font-size:1rem; }
.menu-icon { position:relative; width:20px; height:12px; }
.menu-icon::before,.menu-icon::after { content:""; position:absolute; left:0; width:20px; height:1.5px; background:currentColor; }
.menu-icon::before { top:2px; } .menu-icon::after { bottom:2px; }
[aria-expanded="true"] .menu-icon::before { top:5px; transform:rotate(45deg); }
[aria-expanded="true"] .menu-icon::after { bottom:5.5px; transform:rotate(-45deg); }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:11px 23px; border-radius:5px; background:var(--blue); color:white; font-size:1.0625rem; font-weight:600; line-height:1.5; transition:background .15s; }
.text-link { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:5px; font-size:1.0625rem; }
@media (hover:hover) {
  #main-nav a:hover { color:#a8c3fa; }
  .back-top:hover { color:var(--accent); }
  .button:hover { background:#1b43aa; }
  .text-link:hover { color:#c2d6ff; }
  .contact-address a:hover { color:var(--accent); }
}

/* Progressive enhancement: readable before the scene loads. */
#gl { position:fixed; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; opacity:0; transition:opacity .8s; }
.scene-ready #gl { opacity:1; }
#atmosphere-fade { position:fixed; inset:0; opacity:0; background:var(--night); z-index:1; pointer-events:none; }
#journey { position:relative; z-index:2; color:#f4f7fc; }
.journey-sticky { position:relative; min-height:780px; min-height:max(740px,100svh); overflow:clip; }
.scene-ready #journey { height:calc(100vh + 480vh * var(--journey-length,1)); height:calc(100svh + 480svh * var(--journey-length,1)); }
/* The scroll track stays stable (svh); the visible scene follows browser chrome (dvh). */
.scene-ready .journey-sticky { position:sticky; top:0; height:100vh; height:100dvh; min-height:0; }
.scene-shade { position:absolute; inset:0; pointer-events:none; opacity:var(--shade,1); background:linear-gradient(90deg,rgba(8,14,25,.88),rgba(8,14,25,.64) 30%,rgba(8,14,25,.12) 47%,transparent 60%); }
/* A compositor-only orbit and actual preparation progress, inside the visible viewport. */
.scene-loader { --loaded:.02; position:fixed; left:var(--gutter); bottom:calc(28px + env(safe-area-inset-bottom,0px)); z-index:3; display:flex; align-items:center; gap:18px; width:min(340px,calc(100% - 2 * var(--gutter))); pointer-events:none; visibility:hidden; opacity:0; transition:opacity .3s ease,visibility 0s .3s; }
.scene-loading .scene-loader { visibility:visible; opacity:1; transition:none; }
.scene-loader__orbit { position:relative; flex:0 0 56px; height:56px; border:1px solid #263a59; border-radius:50%; }
.scene-loader__ring { position:absolute; inset:-1px; border:1px solid transparent; border-top-color:#92bdff; border-right-color:#92bdff44; border-radius:50%; animation:scene-orbit 2.8s linear infinite paused; }
.scene-loader__ring::after { content:""; position:absolute; width:5px; height:5px; left:7px; top:5px; border-radius:50%; background:#dceaff; }
.scene-loader__core { position:absolute; inset:19px; border-radius:50%; background:radial-gradient(circle at 35% 30%,#fff3d9,#eabb78 55%,#ae763d); box-shadow:0 0 18px #edc17c30; }
.scene-loader__status { flex:1; min-width:0; }
.scene-loader__caption { margin:0; color:#dce6f6; font-size:.9375rem; font-weight:600; line-height:1.3; }
.scene-loader__phase { margin:5px 0 12px; color:#9daec7; font-size:.8125rem; line-height:1.3; }
.scene-loader__track { height:2px; background:#23334c; overflow:hidden; }
.scene-loader__track>span { display:block; width:100%; height:100%; background:#8db7ff; transform-origin:left; transform:scaleX(var(--loaded)); transition:transform .35s ease; }
.scene-loading .scene-loader__ring { animation-play-state:running; }
.scene-loading .journey-sticky { height:100vh; height:100dvh; min-height:0; }
.scene-loading .step-hero { min-height:0; height:100%; padding-block:140px 100px; }
@keyframes scene-orbit { to { transform:rotate(360deg); } }
.step { display:none; }
.step-hero { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; position:relative; min-height:inherit; padding:170px var(--gutter) 140px; }
.scene-ready .step { display:block; position:absolute; opacity:0; visibility:hidden; pointer-events:none; max-width:600px; }
.scene-ready .step-hero { display:flex; inset:0; max-width:none; padding-block:140px 100px; }
.step h1 { max-width:560px; font-size:clamp(2.5rem,4.3vw,4rem); line-height:1.1; font-weight:600; letter-spacing:-.02em; }
.step .lede { margin-top:25px; max-width:440px; color:#d0d8e4; font-size:1.25rem; line-height:1.55; }
.step-actions { margin-top:32px; }
.step h2 { font-size:clamp(2rem,3.3vw,3rem); font-weight:500; line-height:1.15; letter-spacing:-.015em; }
.step-left,.step-right { left:var(--gutter); bottom:22%; }
.step-sun { padding:24px 28px; background:rgba(8,14,25,.82); border-radius:4px; }
.step-sun .lede { margin-top:18px; }
.step-final { left:var(--gutter); bottom:17%; padding:28px 32px; background:rgba(8,14,25,.9); border-radius:4px; }
.step-final .lede { font-size:1.125rem; margin-top:18px; max-width:38ch; }
.step-final .button { margin-top:20px; text-align:center; }
.step-plant { padding:24px 28px; background:rgba(8,14,25,.86); border-radius:4px; max-width:510px!important; }
.step-plant .lede { margin-top:18px; font-size:1.125rem; }
.journey-caption { position:absolute; left:var(--gutter); bottom:max(32px,env(safe-area-inset-bottom)); margin:0; font-size:.875rem; color:#c3cfdf; }
.scene-hint { display:none; } .scene-ready .scene-hint { display:block; }
.journey-progress { position:absolute; inset:auto 0 0; height:2px; pointer-events:none; }
@media (hover:none) and (pointer:coarse) {
  .journey-progress { bottom:max(1px,env(safe-area-inset-bottom,0px)); }
}
.journey-progress span { display:block; height:100%; background:#a8c3fa; transform:scaleX(var(--progress,0)); transform-origin:left; }

/* Group the work by its role in the client's operation. */
.content-section { position:relative; z-index:5; padding:84px var(--gutter); background:var(--paper); border-top:1px solid var(--line); }
.section-inner { max-width:1180px; margin-inline:auto; width:100%; }
.section-heading { max-width:740px; margin-bottom:42px; }
h2 { font-size:clamp(1.875rem,2.8vw,2.5rem); font-weight:600; line-height:1.2; letter-spacing:-.015em; }
.section-heading p { margin-top:18px; color:var(--muted); max-width:64ch; }
.technology-services { display:grid; grid-template-columns:1.25fr 1fr; gap:70px; align-items:start; }
.technology-services h3 { font-size:1.625rem; line-height:1.25; font-weight:600; margin-bottom:16px; }
.technology-services p { color:var(--muted); max-width:55ch; }
.analysis-service { padding-left:34px; border-left:2px solid var(--line); }
.analysis-service h3 { font-size:1.5rem; }
.service-points { margin-top:20px; padding-left:20px; color:var(--muted); }
.service-points li { padding-left:4px; margin-block:5px; }
.service-points li::marker { color:var(--accent); }
.training { display:grid; grid-template-columns:.75fr 2fr; gap:34px; background:var(--soft); border-radius:4px; padding:30px 32px; margin-top:44px; }
.training>h3 { font-size:1.375rem; line-height:1.25; font-weight:600; }
.training-options { display:grid; grid-template-columns:1fr 1fr; gap:34px; }
.training h4 { font-size:1.1875rem; font-weight:600; line-height:1.3; margin-bottom:12px; }
.training p { font-size:1.0625rem; color:var(--muted); line-height:1.55; }
.operation { background:#0e192b; }
.operation-grid { display:grid; grid-template-columns:.85fr 1.4fr; gap:76px; align-items:start; }
.operation-copy p { color:var(--muted); margin-top:22px; max-width:40ch; }
.signal-list>div { display:grid; grid-template-columns:155px 1fr; gap:24px; padding:22px 0; border-bottom:1px solid var(--line); }
.signal-list>div:first-child { padding-top:0; }
.signal-list>div:last-child { border-bottom:0; padding-bottom:0; }
.signal-list dt { font-weight:600; }
.signal-list dd { color:var(--muted); font-size:1.0625rem; }
.process-track { padding-left:20px; display:grid; grid-template-columns:repeat(4,1fr); gap:40px; list-style-position:outside; }
.process-track li::marker { color:var(--accent); font-weight:600; }
.process-track h3 { font-size:1.1875rem; line-height:1.3; margin-bottom:12px; font-weight:600; }
.process-track p { font-size:1.0625rem; color:var(--muted); }
.contact { background:var(--night); padding-bottom:max(26px,env(safe-area-inset-bottom)); }
.contact-content { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.contact h2 { font-size:2rem; }
.contact-content p { color:var(--muted); max-width:47ch; margin-top:16px; }
.contact-address { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.contact-address>span { font-size:.9375rem; color:var(--muted); }
.contact-address a { font-size:1.25rem; min-height:44px; display:flex; align-items:center; text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px; }
.footer-bar { display:flex; align-items:center; gap:32px; margin-top:64px; padding-top:24px; border-top:1px solid var(--line); }
.footer-bar .brand img { width:112px; }
.footer-copy { margin-left:auto; color:var(--muted); font-size:.875rem; }
.back-top { display:flex; align-items:center; min-height:44px; font-size:.9375rem; }

/* Same reading order and controls on smaller screens. */
@media(max-width:1000px) {
  .technology-services { gap:40px; }
  .training { grid-template-columns:1fr; gap:22px; }
  .operation-grid { grid-template-columns:1fr 1.35fr; gap:40px; }
  .signal-list>div { grid-template-columns:1fr; gap:7px; }
  .contact-content { gap:40px; }
}
@media(max-width:800px) {
  .scene-loading .step-hero { padding-block:124px 100px; }
  #site-header { min-height:60px; flex-wrap:wrap; }
  #site-header .brand img { width:96px; }
  .brand img { width:120px; } .js .menu-toggle { display:inline-flex; }
  #main-nav { width:100%; flex-wrap:wrap; gap:4px 24px; }
  .js #main-nav { display:none; }
  .js #main-nav.is-open { display:flex; flex-direction:column; align-items:stretch; gap:0; padding:10px 0 16px; }
  #main-nav a { min-height:48px; }
  .scene-ready #journey { height:calc(100vh + 410vh * var(--journey-length,1)); height:calc(100svh + 410svh * var(--journey-length,1)); }
  .scene-shade { background:linear-gradient(0deg,rgba(8,14,25,.95) 12%,rgba(8,14,25,.86) 43%,transparent 58%); }
  .scene-ready .step-hero { padding-block:124px 100px; }
  .step h1 { font-size:clamp(2.5rem,6.3vw,3.2rem); max-width:510px; }
  .step .lede { font-size:1.125rem; max-width:36ch; }
  .scene-ready .step:not(.step-hero) { left:var(--gutter); right:var(--gutter); bottom:19%; }
  .scene-ready .step.step-final { bottom:9%; }
  .scene-ready .step[data-card="wind"],.scene-ready .step[data-card="hydro"] { bottom:9%; padding:20px 22px; }
  .step[data-card="wind"] h2,.step[data-card="hydro"] h2 { font-size:1.8rem; }
  .step[data-card="wind"] .lede,.step[data-card="hydro"] .lede { font-size:1rem; margin-top:14px; }
  .content-section { padding-block:64px; }
  .technology-services { grid-template-columns:1fr; gap:32px; }
  .analysis-service { border:0; padding:0; }
  .operation-grid { grid-template-columns:1fr; gap:32px; }
  .operation-copy p { max-width:60ch; }
  .signal-list>div { grid-template-columns:170px 1fr; gap:20px; }
  .process-track { grid-template-columns:1fr 1fr; gap:30px 40px; }
  .contact-content { grid-template-columns:1fr; gap:28px; }
}
@media(max-width:540px) {
  .step-hero { min-height:max(680px,100svh); padding-block:150px 110px; }
  .scene-ready .step-hero { min-height:0; }
  .step h1 { font-size:clamp(2.25rem,9vw,2.75rem); max-width:100%; }
  .step h2 { font-size:2rem; }
  .step-final h2 { font-size:1.75rem; }
  .step .lede { margin-top:22px; } .step-actions { margin-top:28px; } .step-final { padding:24px; }
  .content-section { padding-block:52px; }
  .section-heading { margin-bottom:32px; }
  .technology-services h3 { font-size:1.375rem; }
  .training { margin-top:32px; padding:26px 24px; }
  .training-options { grid-template-columns:1fr; gap:26px; }
  .signal-list>div { grid-template-columns:1fr; gap:8px; }
  .process-track { grid-template-columns:1fr; gap:26px; }
  .contact-address a { font-size:1.0625rem; }
  .footer-bar { flex-wrap:wrap; gap:16px 24px; margin-top:44px; }
  .footer-copy { margin-left:auto; } .back-top { width:100%; }
  .contact { padding-bottom:max(24px,env(safe-area-inset-bottom)); }
}
@media(max-height:620px) {
  .scene-loading .step-hero { padding-block:calc(var(--header-height,64px) + 16px) 116px; }
  .scene-loading .step-hero h1 { font-size:2rem; }
  .scene-loading .step-hero .lede { font-size:1rem; margin-top:16px; }
  .scene-loading .step-actions { margin-top:20px; }
  .scene-loader { bottom:calc(16px + env(safe-area-inset-bottom,0px)); }
  .scene-ready #journey { height:auto; }
  .scene-ready .journey-sticky { position:relative; height:auto; min-height:640px; }
  .scene-ready .step-hero { visibility:visible!important; opacity:1!important; transform:none!important; pointer-events:auto!important; }
  .scene-ready .step:not(.step-hero),.journey-progress,.scene-hint { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
@media(max-height:480px) and (min-width:540px) {
  .scene-loading .step-hero .lede { display:none; }
  .scene-loading .step-hero h1 { max-width:none; }
}
.reading-mode.scene-ready #journey { height:auto; }
.reading-mode.scene-ready .journey-sticky { position:relative; height:auto; }
.reading-mode.scene-ready .step-hero { position:relative; visibility:visible!important; opacity:1!important; transform:none!important; pointer-events:auto!important; padding-block:calc(var(--header-height,64px) + 48px) 110px; }
.reading-mode.scene-ready .step:not(.step-hero),.reading-mode .scene-hint,.reading-mode .journey-progress { display:none; }
