/* Sleado website styles. IBM Plex Sans is self-hosted from /fonts (SIL Open Font License). */
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-300-normal.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2')}

:root{
  --bg:#0A0F16;
  --teal:#6EE7D0;
  --amber:#F2B84B;
  --text:#ffffff;
  --muted:rgba(255,255,255,0.7);
  --faint:rgba(255,255,255,0.58);
  --line:rgba(255,255,255,0.1);
  --mark:url("../images/logo-mark.png");
  --word:url("../images/logo-wordmark.png");
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
h1,h2,p{margin:0}
.teal{color:var(--teal)}
.amber{color:var(--amber)}

/* animations */
@keyframes riseIn{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes drawX{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes pop{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}
@keyframes ring{0%{transform:scale(1);opacity:0.45}100%{transform:scale(1.45);opacity:0}}
.rise{animation:riseIn 0.9s cubic-bezier(0.2,0.7,0.2,1) both}
.draw{transform-origin:left center;animation:drawX 1.2s cubic-bezier(0.2,0.7,0.2,1) both}
.pop{animation:pop 0.8s cubic-bezier(0.2,0.7,0.2,1) both}
.float{animation:floatY 6s ease-in-out infinite}
.ring{animation:ring 3.8s ease-out infinite}
@supports (animation-timeline: view()){
  .reveal{animation:riseIn linear both;animation-timeline:view();animation-range:entry 0% entry 35%}
}
@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important}
  html{scroll-behavior:auto}
}

/* background layers */
.section{position:relative;overflow:hidden}
.glowfx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.gridfx{position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.07) 1px,transparent 1px);
  background-size:120px 120px;
  -webkit-mask-image:radial-gradient(ellipse at center,#000 0%,transparent 72%);
  mask-image:radial-gradient(ellipse at center,#000 0%,transparent 72%)}
.wrap{position:relative;max-width:1240px;margin:0 auto;padding:0 32px}

/* nav */
.nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;padding:32px 0}
/* logo assets (white on transparent, embedded once as CSS variables above) */
.mark{display:block;aspect-ratio:900/882;background:var(--mark) center/contain no-repeat}
.word{display:block;aspect-ratio:800/107;background:var(--word) center/contain no-repeat}
.brand{display:flex;align-items:center;gap:16px}
.brand .mark{width:42px}
.brand .word{width:150px}
.foot-brand{display:flex;align-items:center;gap:12px}
.foot-brand .mark{width:26px}
.foot-brand .word{width:92px}
.links{display:flex;flex-wrap:wrap;gap:12px 36px;font-size:15px;font-weight:300;letter-spacing:0.04em;color:var(--muted)}
.links a{transition:color 0.25s ease}
.links a:hover{color:#fff}

/* landing screen: nav on top, overview centered, fills the first viewport */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#top .wrap{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
#top main{flex:1;display:flex;flex-direction:column;justify-content:flex-start}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 32px;border-radius:24px;font-size:15px;letter-spacing:0.04em;transition:background-color 0.3s ease,color 0.3s ease,border-color 0.3s ease}
.btn-solid{border:1px solid var(--teal);background:var(--teal);color:var(--bg);font-weight:500}
.btn-solid:hover{background:#fff;border-color:#fff;color:var(--bg)}
.btn-ghost{border:1px solid rgba(255,255,255,0.3);color:rgba(255,255,255,0.85);font-weight:400}
.btn-ghost:hover{border-color:#fff;color:#fff}

/* constellation */
.constellation{width:100%;display:flex;flex-wrap:wrap;gap:72px 96px;padding:clamp(24px,7vh,80px) 0 64px}
.group{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:56px}
.group-head{display:flex;flex-direction:column;gap:20px}
.group-label{font-size:clamp(18px,1.9vw,28px);font-weight:600;letter-spacing:0.24em;text-transform:uppercase}
.group-rule{height:1px;background:rgba(255,255,255,0.2)}
.nodes{display:flex}
.node{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:22px}
.node-row{position:relative;width:100%;display:flex;justify-content:center}
.node-line{position:absolute;top:50%;height:1px;background:rgba(255,255,255,0.16)}
.node-pop{position:relative;width:100%;max-width:clamp(96px,11vw,160px)}
.node-disc{position:relative;width:100%;aspect-ratio:1/1;border-radius:50%;border:1px solid rgba(255,255,255,0.22);background:rgba(10,15,22,0.9);display:flex;align-items:center;justify-content:center}
.node-ring{position:absolute;inset:0;border-radius:50%;border:1px solid currentColor}
.node svg{width:42%;height:auto;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.node-name{padding:0 8px;font-size:clamp(13px,1.5vw,20px);font-weight:300;letter-spacing:0.04em;color:rgba(255,255,255,0.75);text-align:center}

/* content sections */
.block{border-top:1px solid var(--line)}
.block-inner{position:relative;max-width:1240px;margin:0 auto;padding:120px 32px;display:flex;flex-direction:column;gap:64px}
.intro{display:flex;flex-direction:column;gap:24px;max-width:760px}
.eyebrow{font-size:22px;font-weight:600;letter-spacing:0.24em;text-transform:uppercase}
.intro h2{font-size:clamp(32px,4.6vw,60px);font-weight:300;line-height:1.1;letter-spacing:-0.02em}
.intro p{font-size:clamp(16px,1.4vw,19px);font-weight:300;line-height:1.65;color:var(--muted)}
.cards{display:flex;flex-wrap:wrap;gap:24px}
.card{flex:1 1 340px;padding:36px 32px;border:1px solid rgba(255,255,255,0.14);border-radius:20px;background-color:rgba(255,255,255,0.02);display:flex;flex-direction:column;gap:18px;transition:transform 0.35s ease,border-color 0.35s ease,background-color 0.35s ease}
.card:hover{transform:translateY(-4px);border-color:var(--accent);background-color:rgba(255,255,255,0.04)}
.card-num{font-size:14px;letter-spacing:0.2em;color:var(--accent)}
.card-title{font-size:26px;font-weight:300;line-height:1.2}
.card-text{font-size:16px;font-weight:300;line-height:1.65;color:var(--muted)}
.card-tags{margin-top:auto;padding-top:12px;font-size:14px;letter-spacing:0.08em;color:var(--faint)}
#energy{--accent:var(--teal)}
#semiconductors{--accent:var(--amber)}

/* floating quick-contact circles: phone / email / WhatsApp */
.fc a:hover,.fc a:focus-visible{border-color:var(--teal);color:var(--teal);background-color:rgba(110,231,208,0.1)}
.fc{position:fixed;right:20px;top:50%;transform:translateY(-50%);z-index:50;display:flex;flex-direction:column;gap:14px}
.fc a{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;border:1px solid rgba(255,255,255,0.24);background:rgba(10,15,22,0.78);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;transition:transform 0.35s ease,border-color 0.35s ease,color 0.35s ease,background-color 0.35s ease}
.fc a svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* footer */
.footer-inner{max-width:1240px;margin:0 auto;padding:32px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;font-size:14px;font-weight:300;letter-spacing:0.06em;color:var(--faint)}

@media (max-width:640px){
  .wrap,.block-inner,.footer-inner{padding-left:20px;padding-right:20px}
  .block-inner{padding-top:88px;padding-bottom:88px}
  .group-label,.eyebrow{font-size:18px;letter-spacing:0.18em}
  .constellation{gap:56px;padding-bottom:88px}
  .fc{right:12px;top:auto;bottom:20px;transform:none;gap:10px}
  .fc a{width:46px;height:46px}
  .fc a svg{width:21px;height:21px}
}
