/* ARAS ENERGY — main-service pages (solar · BESS · engineering · consulting).
   Loaded only on the four main-service pages under /services/.

   Entry animations: services.js adds .is-playing to a [data-play] block once
   it is in view. Every a-* class below is inert until then, and only when the
   page runs JS (.svc-js) does a block start from its first frame — without JS
   the final drawing simply shows. Drawn strokes use pathLength="1", so one
   dash of length 1 is the whole path whatever its real length. */

/* ================================================================ motion */

@keyframes a-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes a-pop { from { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes a-drop { from { opacity: 0; transform: translateY(-28px); } 65% { opacity: 1; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes a-rise { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes a-slide { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes a-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes a-grow { from { transform: scaleX(0); } to { transform: none; } }
@keyframes a-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes a-drive {
  0% { opacity: 0; transform: translateY(-70px); }
  18% { opacity: 1; transform: translateY(-46px); }
  30%, 40% { transform: translateY(-46px); }
  55%, 65% { transform: translateY(-22px); }
  80%, 88% { transform: translateY(-6px); }
  100% { opacity: 1; transform: none; }
}
@keyframes a-flow { to { stroke-dashoffset: -40; } }
@keyframes a-spin { to { transform: rotate(360deg); } }
@keyframes a-ring { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }

.a-pop, .a-drop, .a-rise, .a-slide, .a-grow-x, .a-drive { transform-box: fill-box; transform-origin: center; }
.a-rise { transform-origin: center bottom; }
.a-grow-x { transform-origin: left center; }

.svc-js [data-play]:not(.is-playing) :is(.a-pop, .a-drop, .a-rise, .a-slide, .a-fade, .a-grow, .a-grow-x, .a-drive) { opacity: 0; }
.svc-js [data-play]:not(.is-playing) .a-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.svc-js [data-play]:not(.is-playing) .a-grow { transform: scaleX(0); }

.svc-js .is-playing .a-draw { stroke-dasharray: 1; animation: a-draw 1.1s cubic-bezier(.65, .05, .3, 1) var(--d, 0s) both; }
.svc-js .is-playing .a-pop { animation: a-pop .6s cubic-bezier(.3, .7, .4, 1) var(--d, 0s) both; }
.svc-js .is-playing .a-drop { animation: a-drop .7s cubic-bezier(.3, .7, .4, 1) var(--d, 0s) both; }
.svc-js .is-playing .a-rise { animation: a-rise .6s cubic-bezier(.3, .7, .4, 1) var(--d, 0s) both; }
.svc-js .is-playing .a-slide { animation: a-slide .8s cubic-bezier(.2, .8, .3, 1) var(--d, 0s) both; }
.svc-js .is-playing .a-fade { animation: a-fade .8s ease var(--d, 0s) both; }
.svc-js .is-playing .a-grow { animation: a-grow 1.1s cubic-bezier(.65, .05, .3, 1) var(--d, 0s) both; }
.svc-js .is-playing .a-grow-x { animation: a-grow .9s cubic-bezier(.65, .05, .3, 1) var(--d, 0s) both; }
.svc-js .is-playing .a-drive { animation: a-drive 1.4s ease-in var(--d, .3s) both; }

/* dashed strokes cannot also be drawn with the one-dash trick; they fade in */
.svc-js [data-play].is-playing :is(.art-arc, .bp-dash, .dg-ctrl, .dg-enclosure, .ch-limit).a-draw { animation-name: a-fade; stroke-dasharray: var(--dash); }
.svc-js [data-play]:not(.is-playing) :is(.art-arc, .bp-dash, .dg-ctrl, .dg-enclosure, .ch-limit).a-draw { opacity: 0; stroke-dasharray: var(--dash); }

@media (prefers-reduced-motion: reduce) {
  .a-loop, .a-loop * { animation: none !important; }
}
/* flowing current waits for its wire to finish drawing */
.svc-js [data-play] :is(.art-flow, .dg-flow, .bp-pulse, .dx-pulse, .ch-link-flow) { transition: opacity .6s ease 1.8s; }
.svc-js [data-play]:not(.is-playing) :is(.art-flow, .dg-flow, .bp-pulse, .dx-pulse, .ch-link-flow) { opacity: 0; transition: none; }

/* ============================================================ shared UI */

.svc-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--aras-charcoal-deep); color: #fff;
  padding-block: 48px 40px;
}
.svc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 420px at 12% 30%, rgba(240,176,8,.14), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 56px);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.svc-hero--bess::before {
  background:
    radial-gradient(640px 420px at 20% 60%, rgba(240,176,8,.12), transparent 70%),
    radial-gradient(520px 320px at 90% 10%, rgba(255,255,255,.06), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 56px);
}
.svc-hero--eng { background: #1f252b; }
.svc-hero--eng::before {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 16px);
  -webkit-mask-image: none; mask-image: none;
}
.svc-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.svc-hero__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aras-amber); }
.svc-hero__title { color: #fff; margin: 0; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.25; letter-spacing: -.01em; }
.svc-hero__lead { color: var(--aras-on-dark-muted); font-size: 18px; max-width: 54ch; margin: 0; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.svc-hero__art svg { display: block; width: 100%; height: auto; max-height: 470px; }
.svc-hero .rule { margin-bottom: 18px; }

/* hero entry: the copy rises in, line by line */
.svc-js .svc-hero__copy > * { animation: a-up .7s cubic-bezier(.2, .8, .3, 1) both; }
.svc-js .svc-hero__copy > :nth-child(2) { animation-delay: .08s; }
.svc-js .svc-hero__copy > :nth-child(3) { animation-delay: .16s; }
.svc-js .svc-hero__copy > :nth-child(4) { animation-delay: .24s; }
.svc-js .svc-hero__copy > :nth-child(5) { animation-delay: .32s; }
.svc-js .svc-hero__copy > :nth-child(6) { animation-delay: .4s; }

.svc-figs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.svc-fig { padding: 22px 20px 4px; }
.svc-fig + .svc-fig { border-inline-start: 1px solid rgba(255,255,255,.1); }
.svc-fig__value { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.2; color: #fff; font-variant-numeric: tabular-nums; }
.svc-fig__unit { font-size: .45em; color: var(--aras-amber); margin-inline-start: 6px; }
.svc-fig__label { color: var(--aras-on-dark-muted); font-size: 14px; }
.svc-js .svc-figs:not(.is-playing) .svc-fig { opacity: 0; }
.svc-js .svc-figs.is-playing .svc-fig { animation: a-up .6s ease both; }
.svc-js .svc-figs.is-playing .svc-fig:nth-child(2) { animation-delay: .1s; }
.svc-js .svc-figs.is-playing .svc-fig:nth-child(3) { animation-delay: .2s; }
.svc-js .svc-figs.is-playing .svc-fig:nth-child(4) { animation-delay: .3s; }

.svc-head { margin-bottom: 36px; max-width: 760px; }
.svc-head__kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aras-grey); }
.svc-head__title { margin: 0; font-size: clamp(26px, 2.6vw, 36px); }
.svc-head__lead { margin: 0; color: var(--aras-grey); font-size: 18px; }

.svc-dark { position: relative; isolation: isolate; background: var(--aras-charcoal-deep); color: #fff; }
.svc-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 360px at 100% 0%, rgba(240,176,8,.1), transparent 70%);
}
.svc-dark .svc-head__title { color: #fff; }
.svc-dark .svc-head__lead { color: var(--aras-on-dark-muted); }
.svc-dark .svc-head__kicker { color: var(--aras-on-dark-muted); }
.link-more--light { color: #fff; }

/* ================================================================ SOLAR */

/* hero: trackers follow the sun */
.art-arc { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.5; --dash: .006 .01; stroke-dasharray: var(--dash); }
.art-sun { fill: var(--aras-amber); }
.sun-rays line, .art-ray { stroke: var(--aras-amber); stroke-width: 3; stroke-linecap: round; }
.art-ground { stroke: rgba(255,255,255,.3); stroke-width: 1.5; }
.art-post { stroke: #8a939b; stroke-width: 3; stroke-linecap: round; }
.art-panel { fill: #56606a; stroke: #aab3bb; stroke-width: .8; }
.art-cable { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2; }
.art-flow { fill: none; stroke: var(--aras-amber); stroke-width: 2; stroke-dasharray: 6 14; animation: a-flow 1.2s linear infinite; }
.art-box { fill: var(--aras-charcoal); stroke: var(--aras-amber); stroke-width: 1.5; }
.art-bolt { fill: var(--aras-amber); }

@keyframes sun-arc { from { transform: rotate(-62deg); } to { transform: rotate(62deg); } }
@keyframes track { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
.sun-arm { transform-box: view-box; transform-origin: 260px 290px; animation: sun-arc 9s ease-in-out infinite alternate; }
.sun-rays { transform-box: view-box; transform-origin: 260px 70px; animation: a-spin 24s linear infinite; }
.trk { transform-box: fill-box; transform-origin: center; animation: track 9s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .sun-arm, .sun-rays, .trk, .art-flow { animation: none; }
}

.svc-intro { padding-block: 56px; }
.svc-intro__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.svc-intro__quote { margin: 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.8; color: var(--aras-charcoal); }
.svc-intro__quote strong { background: linear-gradient(transparent 62%, var(--aras-amber-tint) 62%); }
.sunpath { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; color: var(--aras-grey); }
.sunpath__line { position: relative; height: 6px; border-radius: 3px; background: var(--aras-line); }
.sunpath__fill { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(to left, var(--aras-amber), var(--aras-amber-dark)); transform-origin: right center; }
.sunpath__sun {
  position: absolute; top: 50%; left: -11px; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--aras-amber); box-shadow: 0 0 0 6px rgba(240,176,8,.22), 0 0 24px rgba(240,176,8,.6);
}
@keyframes travel { from { left: calc(100% - 11px); } to { left: -11px; } }
.svc-js .sunpath:not(.is-playing) .sunpath__sun { left: calc(100% - 11px); }
.svc-js .sunpath.is-playing .sunpath__sun { animation: travel 1.1s cubic-bezier(.65, .05, .3, 1) both; }

/* the six-phase chain */
.chain-wrap { position: relative; }
.chain__rail { position: absolute; top: 28px; bottom: 28px; right: 50%; width: 2px; margin-right: -1px; background: var(--aras-line); }
.chain__rail-fill { position: absolute; inset: 0; transform-origin: top center; background: linear-gradient(var(--aras-amber), var(--aras-amber-dark)); transform: scaleY(var(--p, 1)); }
.svc-js .chain__rail-fill { transform: scaleY(var(--p, 0)); }
.chain { display: grid; gap: 64px; }
.chain__step { display: grid; grid-template-columns: 1fr 88px 1fr; align-items: center; }
.chain__copy { grid-column: 1; grid-row: 1; }
.chain__node {
  grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--aras-line); font-size: 20px; font-weight: 700; color: var(--aras-grey);
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.chain__art { grid-column: 3; grid-row: 1; margin: 0; background: #fff; border: 1px solid var(--aras-line); border-radius: 20px; padding: 18px; box-shadow: 0 10px 30px rgba(38,44,50,.06); }
.chain__step--flip .chain__copy { grid-column: 3; }
.chain__step--flip .chain__art { grid-column: 1; }
.chain__step.is-reached .chain__node, html:not(.svc-js) .chain__node {
  background: var(--aras-amber); border-color: var(--aras-amber); color: var(--aras-charcoal);
  box-shadow: 0 0 0 8px rgba(240,176,8,.18); transform: scale(1.06);
}
.chain__en {
  margin: 0 0 4px; font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em;
  color: #c9cfd5; transition: color .5s ease;
}
.chain__title { margin: 0 0 14px; font-size: 24px; }
.chain__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chain__chips li {
  padding: 5px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--aras-line);
  font-size: 14px; color: var(--aras-charcoal); line-height: 1.6;
}
.svc-js .chain__step:not(.is-reached) .chain__chips li { opacity: 0; transform: translateY(8px); }
.svc-js .chain__chips li { transition: opacity .4s ease, transform .4s ease; transition-delay: calc(var(--j, 0) * 45ms); }
.svc-js .chain__step:not(.is-reached) .chain__en { color: #e3e7ea; }
@media (prefers-reduced-motion: reduce) {
  .svc-js .chain__step:not(.is-reached) .chain__chips li { opacity: 1; transform: none; }
  .svc-js .chain__step:not(.is-reached) .chain__en { color: #c9cfd5; }
}
.chain__art svg { display: block; width: 100%; height: auto; }

/* illustration palette (light card) */
.ill { overflow: visible; }
.ill-soft { fill: none; stroke: #c9cfd5; stroke-width: 1.5; }
.ill-zone { fill: rgba(240,176,8,.14); stroke: var(--aras-amber-dark); stroke-width: 2; stroke-linejoin: round; }
.ill-sunmini circle { fill: var(--aras-amber); }
.ill-ray { stroke: var(--aras-amber); stroke-width: 1.5; }
.ill-ring { fill: none; stroke: var(--aras-amber); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: a-ring 2s ease-out infinite; }
.ill-pin { fill: var(--aras-charcoal); }
.ill-pin-dot { fill: #fff; }
.ill-check { fill: var(--aras-amber); }
.ill-tick { fill: none; stroke: var(--aras-charcoal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ill-cell { fill: #eef0f2; stroke: var(--aras-charcoal); stroke-width: 1.2; }
.ill-string { fill: none; stroke: var(--aras-amber-dark); stroke-width: 2; stroke-linejoin: round; }
.ill-inv { fill: var(--aras-charcoal); }
.ill--blueprint .ill-tick { stroke: #fff; }
.ill-dim { fill: none; stroke: var(--aras-grey); stroke-width: 1; }
.ill-line { fill: none; stroke: var(--aras-charcoal); stroke-width: 1.5; }
.ill-module { fill: var(--aras-charcoal); stroke: #fff; stroke-width: .6; }
.ill-pallet { fill: var(--aras-amber-dark); }
.ill-vent { stroke: rgba(255,255,255,.55); stroke-width: 1; }
.ill-bush { stroke: var(--aras-charcoal); stroke-width: 4; stroke-linecap: round; }
.ill-pile { fill: var(--aras-grey); }
.ill-rail { fill: none; stroke: #9aa3ab; stroke-width: 3; stroke-linecap: round; }
.ill-module-q { fill: var(--aras-charcoal); stroke: #fff; stroke-width: 1; stroke-linejoin: round; }
.ill-hatch { stroke: #c9cfd5; stroke-width: 1; }
.ill-wave { fill: none; stroke: var(--aras-amber); stroke-width: 2.5; }
.ill-node { fill: var(--aras-charcoal); }
.ill-breaker { stroke: var(--aras-charcoal); stroke-width: 3; stroke-linecap: round; transform-box: view-box; transform-origin: 96px 120px; }
.ill-lamp { fill: var(--aras-amber); }
.ill-tick--dark { stroke: var(--aras-charcoal); }
.ill-grid-lines { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; }
.ill-wiper { fill: rgba(255,255,255,.6); animation: wipe 3.2s ease-in-out infinite alternate; }
@keyframes wipe { from { transform: translateX(0); } to { transform: translateX(120px); } }
@keyframes phase-in { from { transform: translateX(-26px); } to { transform: none; } }
@keyframes breaker-close { from { transform: rotate(-34deg); } to { transform: none; } }
.svc-js [data-play]:not(.is-playing) .ill-phase { transform: translateX(-26px); }
.svc-js [data-play].is-playing .ill-phase { animation: phase-in 1.6s cubic-bezier(.4, 0, .2, 1) .9s both; }
.svc-js [data-play]:not(.is-playing) .ill-breaker { transform: rotate(-34deg); }
.svc-js [data-play].is-playing .ill-breaker { animation: breaker-close .35s cubic-bezier(.5, 0, .7, 1.4) 2.1s both; }
@media (prefers-reduced-motion: reduce) { .ill-ring, .ill-wiper { animation: none; } }

/* ------------------------------------------- visual documentation tabs */

.tabs__list { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.svc-js .tabs__list { display: flex; }
.tabs__tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  font: inherit; font-size: 15px; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.tabs__tab:hover { background: rgba(255,255,255,.12); }
.tabs__tab[aria-selected="true"] { background: var(--aras-amber); border-color: var(--aras-amber); color: var(--aras-charcoal); font-weight: 700; }
.tabs__en { font-size: 12px; opacity: .7; }
.tabs__panel + .tabs__panel { margin-top: 40px; }
.svc-js .tabs__panel + .tabs__panel { margin-top: 0; }
.svc-js .tabs__panel:not([hidden]) { animation: a-up .45s ease both; }
.tabs__caption { margin: 14px 0 0; color: var(--aras-on-dark-muted); font-size: 15px; }

/* gallery */
.gallery__stage { margin: 0; aspect-ratio: 16 / 8; border-radius: 18px; overflow: hidden; background: #1b2025; }
.gallery__stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery__stage img.is-in { animation: gal-in .6s ease both; }
@keyframes gal-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery__thumb { display: block; width: 132px; aspect-ratio: 16 / 10; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: none; opacity: .6; transition: opacity .2s ease, border-color .2s ease; }
.gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .9; }
.gallery__thumb[aria-pressed="true"] { border-color: var(--aras-amber); opacity: 1; }

/* drone view */
.drone { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #111; }
.drone__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.drone__hud { position: absolute; inset: 18px; pointer-events: none; }
.drone__hud i { position: absolute; width: 28px; height: 28px; border: 0 solid rgba(240,176,8,.85); }
.drone__hud i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.drone__hud i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.drone__hud i:nth-child(3) { bottom: 44px; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.drone__hud i:nth-child(4) { bottom: 44px; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* time-lapse scene */
.timelapse__stage { border-radius: 18px; overflow: hidden; background: #2a3137; }
.scene { display: block; width: 100%; height: auto; }
.scene-sky { fill: #303840; }
.scene-sun circle { fill: var(--aras-amber); transition: opacity .6s ease; }
.scene-sun.is-dim, .scene[data-frame]:not([data-frame="5"]) .scene-sun { opacity: .35; }
.scene-hill { fill: #4b535b; }
.scene-graded { fill: #59626b; }
.scene-fence { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.5; stroke-dasharray: 4 6; }
.scene-rock { fill: #3b4249; }
.scene-shrub { fill: none; stroke: #8c949b; stroke-width: 2; stroke-linecap: round; }
.scene-pile { stroke: #c9ced3; stroke-width: 3; stroke-linecap: round; }
.scene-rail { stroke: #9aa3ab; stroke-width: 3; stroke-linecap: round; }
.scene-module { fill: #1f252b; stroke: #7c8791; stroke-width: .8; stroke-linejoin: round; }
.scene-station { fill: var(--aras-charcoal); stroke: var(--aras-amber); stroke-width: 1.5; }
.scene-bolt { fill: var(--aras-amber); }
.scene-pylon { fill: none; stroke: #c9ced3; stroke-width: 2; }
.scene-wire { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.scene-pulse { fill: none; stroke: var(--aras-amber); stroke-width: 2.5; stroke-dasharray: 6 16; animation: a-flow 1s linear infinite; }
.svc-js .scene [data-f], .svc-js .scene [data-off] { transition: opacity .6s ease, transform .6s cubic-bezier(.3, .7, .4, 1); transform-box: view-box; }
.svc-js .scene[data-frame] [data-f]:not(.is-on) { opacity: 0; transform: translateY(-10px); }
.svc-js .scene [data-off].is-off { opacity: 0; }
.timelapse__bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.timelapse__play {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--aras-amber); color: var(--aras-charcoal);
}
.timelapse__play .icon:last-child, .timelapse.is-running .timelapse__play .icon:first-child { display: none; }
.timelapse.is-running .timelapse__play .icon:last-child { display: block; }
.timelapse__range { flex: 1; accent-color: var(--aras-amber); }
.timelapse__label { flex: 0 0 190px; font-weight: 700; color: #fff; }
.timelapse__ticks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; font-size: 12px; color: var(--aras-on-dark-muted); text-align: center; }

/* before / after */
.compare { position: relative; border-radius: 18px; overflow: hidden; background: #2a3137; aspect-ratio: 2 / 1; touch-action: pan-y; }
.compare__layer { position: absolute; inset: 0; }
.compare__layer .scene { width: 100%; height: 100%; }
.compare__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.compare__tag { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(24,28,32,.7); color: #fff; font-size: 13px; font-weight: 700; direction: rtl; }
.compare__layer--before .compare__tag { left: 14px; }
.compare__layer--after .compare__tag { right: 14px; }
.compare__handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; display: grid; place-items: center; pointer-events: none;
  background: var(--aras-amber); color: var(--aras-charcoal); box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.compare__handle::before { content: ""; position: absolute; left: 21px; width: 2px; height: 100vh; background: var(--aras-amber); z-index: -1; }
.compare__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare__range:focus-visible) .compare__handle { outline: 3px solid #fff; outline-offset: 3px; }

/* ================================================================= BESS */

.art-panel-q { fill: #4a545e; stroke: #aab3bb; stroke-width: 1; stroke-linejoin: round; }
.art-panel-grid { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; }
.art-stand { stroke: #8a939b; stroke-width: 3; stroke-linecap: round; }
.art-rack { fill: var(--aras-charcoal); stroke: rgba(255,255,255,.2); stroke-width: 1.5; }
.art-rack-cap { fill: #56606a; }
.art-cell { fill: #4a545e; animation: charge 3.6s ease-in-out infinite; animation-delay: calc(var(--c) * 90ms); }
@keyframes charge { 0%, 100% { fill: #4a545e; } 35%, 65% { fill: var(--aras-amber); } }
.art-chip { fill: rgba(240,176,8,.14); stroke: var(--aras-amber); stroke-width: 1.5; }
.art-chip-text { fill: #fff; font-size: 15px; font-weight: 700; letter-spacing: .12em; font-family: var(--font-sans); }
.art-building { fill: var(--aras-charcoal); stroke: rgba(255,255,255,.25); stroke-width: 1.5; stroke-linejoin: round; }
.art-windows { stroke: var(--aras-amber); stroke-width: 6; opacity: .85; }
.art-door { fill: #56606a; }
@media (prefers-reduced-motion: reduce) { .art-cell { animation: none; fill: var(--aras-amber); } }

.markets { padding-block: 40px; }
.markets__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.markets__item {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px;
  border: 1px solid var(--aras-line); border-radius: 18px; font-weight: 700; color: var(--aras-charcoal); background: #fff;
}
.markets__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--aras-charcoal); color: var(--aras-amber); }
.svc-js .markets__list:not(.is-playing) .markets__item { opacity: 0; }
.svc-js .markets__list.is-playing .markets__item { animation: a-up .5s ease both; animation-delay: calc(var(--i) * 90ms); }

.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 36px; }
.scale__step { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--aras-line); border-radius: 16px; }
.scale__step + .scale__step::before {
  content: ""; position: absolute; right: -22px; top: 50%; width: 16px; height: 2px; background: var(--aras-amber);
}
.scale__art { grid-row: 1 / span 2; }
.scale__art svg { display: block; width: 64px; height: 64px; }
.scale__label { font-weight: 700; align-self: end; }
.scale__en { font-size: 12px; color: var(--aras-grey); align-self: start; }
.sc-frame { fill: none; stroke: var(--aras-charcoal); stroke-width: 2; }
.sc-cell { fill: var(--aras-amber); }
.sc-cap, .sc-hvac { fill: var(--aras-charcoal); }
.sc-line { stroke: var(--aras-charcoal); stroke-width: 2; }
.svc-js .scale:not(.is-playing) .scale__step { opacity: 0; }
.svc-js .scale.is-playing .scale__step { animation: a-up .5s ease both; animation-delay: calc(var(--i) * 180ms); }
.svc-js .scale.is-playing .scale__step :is(.a-pop, .a-rise) { animation-delay: calc(var(--i) * 180ms + var(--d, 0s) + .2s); }

.arch { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.arch__diagram { background: #fff; border: 1px solid var(--aras-line); border-radius: 22px; padding: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.dg { display: block; width: 100%; height: auto; }
.dg-node { color: var(--aras-charcoal); transition: opacity .3s ease; }
.dg-box { fill: #fff; stroke: #cfd5da; stroke-width: 1.5; transition: fill .3s ease, stroke .3s ease; }
.dg-text { fill: var(--aras-charcoal); font-size: 15px; font-weight: 700; letter-spacing: .06em; font-family: var(--font-sans); transition: fill .3s ease; }
.dg-wire { fill: none; stroke: #c3cad0; stroke-width: 3; }
.dg-flow { fill: none; stroke: var(--aras-amber); stroke-width: 3; stroke-dasharray: 6 12; animation: a-flow 1.1s linear infinite; }
.dg-ctrl { fill: none; stroke: #9aa3ab; stroke-width: 1.5; --dash: .02 .02; stroke-dasharray: var(--dash); }
.dg-enclosure { fill: rgba(56,64,72,.03); stroke: #aab2b9; stroke-width: 1.5; --dash: .012 .01; stroke-dasharray: var(--dash); }
.dg-cells rect { fill: #dfe3e7; animation: charge-light 3s ease-in-out infinite; animation-delay: calc(var(--c) * 150ms); }
@keyframes charge-light { 0%, 100% { fill: #dfe3e7; } 40%, 60% { fill: var(--aras-amber); } }
.dg.has-active .dg-node:not(.is-active) { opacity: .4; }
.dg-node.is-active { color: #fff; }
.dg-node.is-active .dg-box { fill: var(--aras-charcoal); stroke: var(--aras-amber); stroke-width: 3; }
.dg-node.is-active .dg-text { fill: #fff; }
.dg-node--badge .dg-box { fill: #fff; }
@media (prefers-reduced-motion: reduce) { .dg-flow, .dg-cells rect { animation: none; } }

.arch__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.arch__group { background: #fff; border: 1px solid var(--aras-line); border-radius: 18px; padding: 16px; }
.arch__group-title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 16px; }
.arch__group-title .icon { color: var(--aras-amber-dark); }
.arch__items { display: grid; gap: 2px; }
.arch__item {
  display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; cursor: pointer; text-align: start;
  font: inherit; font-size: 15px; line-height: 1.6; color: var(--aras-charcoal); background: transparent;
  transition: background-color .2s ease, color .2s ease;
}
.arch__item:hover { background: var(--aras-bg-alt); }
.arch__item.is-active, .arch__item[aria-pressed="true"] { background: var(--aras-charcoal); color: #fff; }

.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app { background: #fff; border: 1px solid var(--aras-line); border-radius: 20px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.app:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(38,44,50,.1); }
.app__chart { display: block; width: 100%; height: auto; padding: 18px 18px 4px; background: linear-gradient(#fafbfb, #f3f5f6); }
.app__body { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 16px 20px 22px; border-top: 1px solid var(--aras-line); }
.app__icon { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--aras-amber-tint); color: var(--aras-amber-dark); }
.app__title { margin: 0; font-size: 20px; }
.app__text { margin: 0; color: var(--aras-grey); }
.svc-js .app:not(.is-playing) { opacity: 0; transform: translateY(16px); }
.svc-js .app.is-playing { animation: a-up .6s ease both; animation-delay: calc(var(--i) * 80ms); }
.app.is-playing:hover { transform: translateY(-4px); }

.ch-axis { stroke: var(--aras-line); stroke-width: 1.5; }
.ch-area { fill: rgba(240,176,8,.18); }
.ch-solar { fill: none; stroke: var(--aras-amber); stroke-width: 2.5; }
.ch-bat { fill: var(--aras-charcoal); }
.ch-dis { fill: var(--aras-amber-dark); }
.ch-ghost { fill: none; stroke: #bfc6cc; stroke-width: 2; stroke-linejoin: round; }
.ch-limit { fill: none; stroke: var(--aras-amber-dark); stroke-width: 1.5; --dash: .025 .02; stroke-dasharray: 4 4; }
.ch-shave { fill: rgba(240,176,8,.3); }
.ch-load { fill: none; stroke: var(--aras-charcoal); stroke-width: 2.5; stroke-linejoin: round; }
.ch-bar { fill: #dfe3e7; }
.ch-shift { animation: shift 4.8s ease-in-out infinite; }
@keyframes shift { 0%, 22% { transform: none; } 48%, 78% { transform: translate(-104px, 32px); } 100% { transform: none; } }
.ch-arrow { fill: none; stroke: var(--aras-amber-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ch-alert { fill: var(--aras-charcoal); }
.ch-alert-x { stroke: var(--aras-amber); stroke-width: 2; stroke-linecap: round; }
.ch-bat-zone { fill: rgba(240,176,8,.28); }
.ch-hub { fill: var(--aras-charcoal); }
.ch-link { stroke: #bfc6cc; stroke-width: 2; }
.ch-link-flow { stroke: var(--aras-amber); stroke-width: 2; stroke-dasharray: 3 9; animation: a-flow 1.4s linear infinite; }
.ch-sat { fill: var(--aras-amber); }
.ch-gap { stroke: #bfc6cc; stroke-width: 2; }
.ch-open { fill: #fff; stroke: var(--aras-charcoal); stroke-width: 1.5; }
@media (prefers-reduced-motion: reduce) { .ch-shift, .ch-link-flow { animation: none; } }

/* case study */
.case__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.case__visual { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 26px; }
.case__count { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.case__count span { font-size: clamp(54px, 6vw, 76px); font-weight: 700; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.case__count small { font-size: 20px; color: var(--aras-on-dark-muted); }
.case__cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(15px, 1fr)); gap: 5px; }
.case__cells i { aspect-ratio: 1; border-radius: 3px; background: var(--aras-amber); }
@keyframes lit { from { background: rgba(255,255,255,.1); transform: scale(.6); } 60% { background: #ffd35a; transform: scale(1.15); } to { background: var(--aras-amber); transform: none; } }
.svc-js .case__visual:not(.is-playing) .case__cells i { background: rgba(255,255,255,.1); }
.svc-js .case__visual.is-playing .case__cells i { animation: lit .35s ease both; animation-delay: calc(var(--i) * 11ms); }
.case__caption { margin: 16px 0 0; font-size: 14px; color: var(--aras-on-dark-muted); }
.case__title { margin: 0 0 16px; color: #fff; font-size: 22px; }
.case__facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.case__facts li { grid-column: span 2; }
.case__facts li:nth-child(n + 4) { grid-column: span 3; }
.case__facts li { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.case__facts .icon { color: var(--aras-amber); margin-bottom: 4px; }
.case__fact-val { font-weight: 700; color: #fff; }
.case__fact-key { font-size: 13px; color: var(--aras-on-dark-muted); }

.deliver { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 28px 0; }
.deliver::before { content: ""; position: absolute; top: 22px; right: 8%; left: 8%; height: 2px; background: rgba(255,255,255,.12); }
.deliver::after { content: ""; position: absolute; top: 22px; right: 8%; left: 8%; height: 2px; background: var(--aras-amber); transform-origin: right center; }
.deliver__step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--aras-on-dark-muted); }
.deliver__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--aras-charcoal); border: 2px solid rgba(240,176,8,.55); color: var(--aras-amber); }
.svc-js .deliver:not(.is-playing)::after { transform: scaleX(0); }
.svc-js .deliver.is-playing::after { animation: a-grow 1.8s cubic-bezier(.65, .05, .3, 1) .2s both; }
.svc-js .deliver:not(.is-playing) .deliver__step { opacity: 0; }
.svc-js .deliver.is-playing .deliver__step { animation: a-pop .5s ease both; animation-delay: calc(var(--i) * 280ms + .2s); }

.case__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 0; }
.case__specs div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.case__specs dt { font-size: 13px; color: var(--aras-on-dark-muted); }
.case__specs dd { margin: 0; font-weight: 700; color: #fff; }
.case__protect { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.case__protect li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; color: #fff; background: rgba(240,176,8,.1); border: 1px solid rgba(240,176,8,.3); }
.case__protect .icon { color: var(--aras-amber); }
.case__more { margin: 22px 0 0; }

/* ========================================================== ENGINEERING */

.bp-frame { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.bp-thin { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.bp-dash { fill: rgba(240,176,8,.04); stroke: rgba(240,176,8,.65); stroke-width: 1.5; --dash: .01 .008; stroke-dasharray: var(--dash); }
.bp-line { fill: none; stroke: #dfe6ec; stroke-width: 1.6; stroke-linejoin: round; }
.bp-dim { fill: none; stroke: var(--aras-amber); stroke-width: 1.2; }
.bp-fill { fill: var(--aras-amber); opacity: .85; }
.bp-pulse { fill: none; stroke: var(--aras-amber); stroke-width: 3; stroke-dasharray: 8 30; animation: a-flow 1.4s linear infinite; }
.bp-cursor { fill: none; stroke: var(--aras-amber); stroke-width: 1.5; animation: cursor 12s ease-in-out infinite; }
@keyframes cursor {
  0%, 100% { transform: translate(150px, 150px); }
  25% { transform: translate(382px, 214px); }
  50% { transform: translate(200px, 340px); }
  75% { transform: translate(60px, 90px); }
}
@media (prefers-reduced-motion: reduce) { .bp-pulse, .bp-cursor { animation: none; } .bp-cursor { display: none; } }

.depth { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: center; }
.depth__stage { background: #1f252b; border-radius: 22px; padding: 22px; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 25px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 25px); }
.depth__svg { display: block; width: 100%; height: auto; }
.lv { transition: opacity .7s ease, transform .7s cubic-bezier(.3, .7, .4, 1); transform-box: view-box; transform-origin: center; }
.svc-js .depth[data-level="1"] :is(.lv[data-lv="2"], .lv[data-lv="3"]),
.svc-js .depth[data-level="2"] .lv[data-lv="3"] { opacity: 0; transform: scale(1.03); }
.dp-boundary { fill: rgba(255,255,255,.02); stroke: rgba(255,255,255,.55); stroke-width: 2; stroke-dasharray: 8 6; }
.dp-block { fill: rgba(240,176,8,.16); stroke: var(--aras-amber); stroke-width: 1.5; transition: fill .6s ease; }
.depth[data-level="3"] .dp-block, html:not(.svc-js) .dp-block { fill: rgba(240,176,8,.04); }
.dp-poi { fill: var(--aras-amber); }
.dp-poi-bolt { fill: var(--aras-charcoal); }
.dp-row { stroke: rgba(255,255,255,.55); stroke-width: 2; }
.depth[data-level="3"] .dp-row { stroke: rgba(255,255,255,.12); }
.dp-inv { fill: #fff; }
.dp-sub { fill: none; stroke: #fff; stroke-width: 2; }
.dp-cable { fill: none; stroke: var(--aras-amber); stroke-width: 2; }
.dp-table { fill: rgba(255,255,255,.1); stroke: rgba(255,255,255,.4); stroke-width: .6; }
.dp-string { fill: none; stroke: var(--aras-amber); stroke-width: .9; opacity: .85; }
.dp-dim { fill: none; stroke: #c9ced3; stroke-width: 1; }
.dp-earth { fill: #c9ced3; }

.depth__steps { display: grid; gap: 12px; }
.depth__step {
  position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 18px;
  text-align: start; cursor: pointer; font: inherit; color: var(--aras-charcoal);
  background: #fff; border: 1px solid var(--aras-line); border-radius: 16px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.depth__step:hover { border-color: #c1c8ce; }
.depth__step[aria-pressed="true"] { border-color: var(--aras-charcoal); box-shadow: 0 12px 28px rgba(38,44,50,.1); transform: translateX(-6px); }
.depth__num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--aras-bg-alt); font-weight: 700; transition: background-color .25s ease; }
.depth__step[aria-pressed="true"] .depth__num { background: var(--aras-amber); }
.depth__copy { display: grid; gap: 2px; }
.depth__en { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aras-grey); }
.depth__title { font-size: 18px; font-weight: 700; }
.depth__text { font-size: 14px; color: var(--aras-grey); }
.depth__bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--aras-amber); transform: scaleX(0); transform-origin: right center; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.depth.is-cycling .depth__step[aria-pressed="true"] .depth__bar { animation: bar 2.4s linear both; }

.svc-blueprint {
  background-color: #1f252b;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px);
}
.discs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.disc { display: flex; flex-direction: column; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; overflow: hidden; }
.disc__art { margin: 0; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.1); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 20px), repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 20px); }
.disc-art { display: block; width: 100%; height: auto; }
.disc__body { padding: 20px 22px 24px; }
.disc__en { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aras-on-dark-muted); }
.disc__title { display: flex; align-items: center; gap: 8px; margin: 4px 0 4px; color: #fff; font-size: 21px; }
.disc__title .icon { color: var(--aras-amber); flex: 0 0 auto; }
.disc__sub { margin: 0 0 10px; font-size: 14px; color: var(--aras-on-dark-muted); }
.disc__list { display: grid; gap: 6px; margin-top: 12px; }
.disc__list li { display: flex; align-items: flex-start; gap: 8px; color: #e6e9ec; font-size: 15px; line-height: 1.7; }
.disc__list .icon { flex: 0 0 auto; margin-top: 5px; color: var(--aras-amber); }
.svc-js .disc:not(.is-playing) { opacity: 0; transform: translateY(18px); }
.svc-js .disc.is-playing { animation: a-up .6s ease both; animation-delay: calc(var(--i) * 120ms); }
.svc-js .disc:not(.is-playing) .disc__list li { opacity: 0; transform: translateX(14px); }
.svc-js .disc__list li { transition: opacity .4s ease, transform .4s ease; transition-delay: calc(var(--i, 0) * 120ms + var(--j) * 60ms + .5s); }
.disc__tools { margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.18); }
.disc__tools-title { margin: 0 0 8px; font-size: 13px; color: var(--aras-on-dark-muted); }
.disc__tools ul { display: flex; flex-wrap: wrap; gap: 6px; }
.disc__tools li { padding: 4px 12px; border-radius: 6px; font-size: 14px; font-weight: 700; color: #fff; background: rgba(240,176,8,.08); border: 1px solid rgba(240,176,8,.5); }

.dx-line { fill: none; stroke: #dfe6ec; stroke-width: 1.6; stroke-linejoin: round; }
.dx-thin { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 1; }
.dx-panel { fill: none; stroke: var(--aras-amber); stroke-width: 4; stroke-linecap: round; }
.dx-greek { fill: var(--aras-amber); font-size: 16px; font-style: italic; font-family: Georgia, serif; }
.dx-sun { fill: var(--aras-amber); }
.dx-ray { fill: none; stroke: var(--aras-amber); stroke-width: 1.2; }
.dx-shadow { fill: rgba(255,255,255,.18); }
.dx-bar { fill: #9aa3ab; }
.dx-pulse { fill: none; stroke: var(--aras-amber); stroke-width: 3; stroke-dasharray: 6 26; animation: a-flow 1.2s linear infinite; }
.dx-relay { fill: var(--aras-charcoal); stroke: var(--aras-amber); stroke-width: 1.5; }
.dx-soil1 { fill: rgba(255,255,255,.07); }
.dx-soil2 { fill: rgba(255,255,255,.13); }
.dx-steel { fill: #c9ced3; }
.dx-dim { fill: none; stroke: var(--aras-amber); stroke-width: 1.2; }
@media (prefers-reduced-motion: reduce) { .dx-pulse { animation: none; } }

.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stamp { display: grid; justify-items: center; gap: 10px; padding: 26px 14px 22px; text-align: center; background: #fff; border: 1px solid var(--aras-line); border-radius: 20px; }
.stamp__ring { grid-area: 1 / 1; width: 112px; height: 112px; border-radius: 50%; border: 2px dashed var(--aras-amber-dark); animation: a-spin 30s linear infinite; }
.stamp__name { grid-area: 1 / 1; align-self: center; font-size: 17px; font-weight: 700; color: var(--aras-charcoal); max-width: 90px; line-height: 1.3; }
.stamp__desc { font-size: 14px; color: var(--aras-grey); }
.svc-js .stamps:not(.is-playing) .stamp { opacity: 0; }
.svc-js .stamps.is-playing .stamp { animation: a-pop .6s ease both; animation-delay: calc(var(--i) * 120ms); }
@media (prefers-reduced-motion: reduce) { .stamp__ring { animation: none; } }

.bridge { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bridge__card {
  display: grid; grid-template-columns: 64px 1fr 28px; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
  padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--aras-line); color: var(--aras-charcoal); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bridge__card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(38,44,50,.1); }
.bridge__icon { grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--aras-charcoal); color: var(--aras-amber); }
.bridge__title { font-size: 20px; font-weight: 700; }
.bridge__text { grid-column: 2; color: var(--aras-grey); font-size: 15px; }
.bridge__go { grid-column: 3; grid-row: 1 / span 2; transition: transform .2s ease; }
.bridge__card:hover .bridge__go { transform: translateX(-5px); }

/* =========================================================== responsive */

@media (max-width: 1080px) {
  .svc-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-hero__art { max-width: 520px; width: 100%; margin-inline: auto; }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .discs { grid-template-columns: 1fr; }
  .disc { display: grid; grid-template-columns: 1fr 1.2fr; }
  .disc__art { border-bottom: 0; border-inline-end: 1px solid rgba(255,255,255,.1); display: grid; align-items: center; }
  .scale { grid-template-columns: repeat(2, 1fr); }
  .scale__step:nth-child(3)::before { display: none; }
}
@media (max-width: 900px) {
  .svc-intro__grid, .arch, .case__grid, .depth { grid-template-columns: 1fr; }
  .arch__diagram { position: static; }
  .markets__list { grid-template-columns: repeat(3, 1fr); }
  .stamps { grid-template-columns: repeat(2, 1fr); }
  .bridge { grid-template-columns: 1fr; }
  .deliver { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .deliver::before, .deliver::after { display: none; }
  .depth__step[aria-pressed="true"] { transform: none; }

  /* chain: one column, the rail runs down the start edge */
  .chain__rail { right: 28px; }
  .chain { gap: 44px; }
  .chain__step, .chain__step--flip { grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start; }
  .chain__node { grid-column: 1; grid-row: 1; }
  .chain__copy, .chain__step--flip .chain__copy { grid-column: 2; grid-row: 1; }
  .chain__art, .chain__step--flip .chain__art { grid-column: 2; grid-row: 2; margin-top: 16px; }
}
@media (max-width: 700px) {
  .svc-hero { padding-block: 32px 28px; }
  .svc-hero__art svg { max-height: 300px; }
  .svc-figs { grid-template-columns: 1fr 1fr; }
  .svc-fig:nth-child(3) { border-inline-start: 0; }
  .svc-fig:nth-child(n + 3) { border-top: 1px solid rgba(255,255,255,.1); }
  .apps { grid-template-columns: 1fr; }
  .markets__list { grid-template-columns: repeat(2, 1fr); }
  .markets__item:last-child { grid-column: 1 / -1; }
  .scale { grid-template-columns: 1fr; gap: 12px; }
  .scale__step::before { display: none; }
  .arch__groups { grid-template-columns: 1fr; }
  .case__facts { grid-template-columns: 1fr 1fr; }
  .case__facts li, .case__facts li:nth-child(n + 4) { grid-column: auto; }
  .case__facts li:last-child { grid-column: 1 / -1; }
  .case__specs { grid-template-columns: 1fr; }
  .disc { display: flex; }
  .disc__art { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .timelapse__ticks { display: none; }
  .timelapse__label { flex-basis: auto; font-size: 14px; }
  .tabs__en { display: none; }
  .chain__en { font-size: 32px; }
  .bridge__card { grid-template-columns: 52px 1fr 24px; padding: 18px; }
  .bridge__icon { width: 52px; height: 52px; }
}

/* ============================================================ CONSULTING
   /services/consulting/ — consulting, permitting, finance (DECISIONS.md ت۱۰). */

.svc-hero--consult::before {
  background:
    radial-gradient(620px 420px at 85% 70%, rgba(240,176,8,.13), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 40px);
}
.cn-doc { fill: #2f363d; stroke: rgba(255,255,255,.28); stroke-width: 1.5; }
.cn-doc-fold { fill: rgba(255,255,255,.14); }
.cn-doc-head { fill: var(--aras-amber); }
.cn-line { fill: rgba(255,255,255,.22); }
.cn-check-bg { fill: rgba(240,176,8,.16); }
.cn-check { fill: none; stroke: var(--aras-amber); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cn-stamp { fill: none; stroke: var(--aras-amber); stroke-width: 3; }
.cn-stamp-tick { fill: none; stroke: var(--aras-amber); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.cn-axis { stroke: rgba(255,255,255,.3); stroke-width: 1.5; }
.cn-threshold { stroke: rgba(240,176,8,.55); stroke-width: 1.5; }
.cn-bar { fill: #56606a; }
.cn-trend { fill: none; stroke: var(--aras-amber); stroke-width: 3; stroke-linecap: round; }
.cn-coin { fill: var(--aras-amber); }
.cn-coin-mark { fill: none; stroke: var(--aras-charcoal); stroke-width: 3; stroke-linecap: round; }

/* consulting groups */
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cgrid__card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px 22px;
  background: var(--aras-bg); border: 1px solid var(--aras-line); border-radius: 14px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cgrid__card:hover { border-color: var(--aras-amber); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(38,44,50,.08); }
.cgrid__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--aras-amber-tint); color: var(--aras-charcoal); }
.cgrid__title { margin: 0; font-size: 19px; }
.cgrid__list { display: grid; gap: 8px; font-size: 15px; line-height: 1.7; }
.cgrid__list li { display: flex; gap: 8px; align-items: flex-start; }
.cgrid__list .icon { flex: 0 0 auto; margin-top: 6px; color: var(--aras-ok); }
.cgrid__out { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--aras-charcoal); }
.cgrid__out-label { padding: 4px 14px; border-radius: 999px; background: var(--aras-charcoal); color: #fff; font-size: 14px; font-weight: 700; }
.svc-js .cgrid:not(.is-playing) .cgrid__card { opacity: 0; }
.svc-js .cgrid.is-playing .cgrid__card { animation: a-up .6s ease calc(var(--i) * .1s) both; }

/* development roadmap: a road with numbered stops that light in order */
.road {
  position: relative; display: grid; grid-template-columns: repeat(13, 1fr); gap: 6px;
  padding-top: 8px; margin-bottom: 44px;
}
.road::before {
  content: ""; position: absolute; top: 27px; inset-inline: 4%; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--aras-line) 0 14px, transparent 14px 22px);
}
.road__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.road__dot {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: var(--aras-bg); color: var(--aras-charcoal); border: 2px solid var(--aras-amber);
}
.road__label { font-size: 13px; line-height: 1.55; color: var(--aras-text); }
.road__step:last-child .road__dot { background: var(--aras-amber); }
.svc-js .road:not(.is-playing) .road__step { opacity: 0; }
.svc-js .road.is-playing .road__step { animation: a-up .5s ease calc(var(--i) * .09s) both; }
.svc-js .road.is-playing .road__step:not(:last-child) .road__dot { animation: road-lit .5s ease calc(var(--i) * .09s + .2s) both; }
@keyframes road-lit { from { background: var(--aras-bg); } to { background: var(--aras-amber-tint); } }

.permits { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.permits__h3 { margin: 0 0 16px; font-size: 20px; }
.permits__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.permits__list li {
  display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; border-radius: 12px;
  background: var(--aras-bg); border: 1px solid var(--aras-line); font-size: 14px; font-weight: 500; line-height: 1.6;
}
.permits__icon { color: var(--aras-amber-dark); }
.svc-js .permits__list:not(.is-playing) li { opacity: 0; }
.svc-js .permits__list.is-playing li { animation: a-up .5s ease calc(var(--i) * .06s) both; }
.permits__note { margin: 18px 0 0; display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--aras-charcoal); }
.permits__note .icon { color: var(--aras-ok); flex: 0 0 auto; }

.pdash { margin: 0; padding: 22px; border-radius: 16px; background: var(--aras-charcoal-deep); color: #fff; box-shadow: 0 18px 40px rgba(38,44,50,.18); }
.pdash__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.pdash__title { font-weight: 700; font-size: 15px; }
.pdash__demo { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: var(--aras-on-dark-muted); white-space: nowrap; }
.pdash__rows { display: grid; gap: 8px; }
.pdash__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.05); }
.pdash__name { display: grid; font-weight: 700; font-size: 15px; }
.pdash__name small { font-weight: 400; font-size: 12px; color: var(--aras-on-dark-muted); }
.pdash__state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--aras-on-dark-muted); }
.pdash__state i { width: 12px; height: 12px; border-radius: 50%; }
.pdash__state--ok i { background: #3fb46e; box-shadow: 0 0 0 4px rgba(63,180,110,.2); }
.pdash__state--wait i { background: var(--aras-amber); box-shadow: 0 0 0 4px rgba(240,176,8,.2); animation: pd-blink 1.6s ease-in-out infinite; }
.pdash__state--plan i { background: #e05a4f; box-shadow: 0 0 0 4px rgba(224,90,79,.2); }
@keyframes pd-blink { 50% { opacity: .35; } }
.pdash__foot { margin: 14px 0 0; font-size: 13px; color: var(--aras-on-dark-muted); line-height: 1.7; }
.svc-js .pdash:not(.is-playing) .pdash__row { opacity: 0; }
.svc-js .pdash.is-playing .pdash__row { animation: a-slide .5s ease calc(var(--i) * .08s) both; }
@media (prefers-reduced-motion: reduce) { .pdash__state--wait i { animation: none; } }

/* finance */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 56px; }
.models__card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background-color .2s ease, border-color .2s ease;
}
.models__card:hover { background: rgba(240,176,8,.08); border-color: rgba(240,176,8,.45); }
.models__icon { color: var(--aras-amber); }
.models__en { font-weight: 700; font-size: 17px; color: #fff; }
.models__text { font-size: 14px; line-height: 1.7; color: var(--aras-on-dark-muted); }
.svc-js .models:not(.is-playing) .models__card { opacity: 0; }
.svc-js .models.is-playing .models__card { animation: a-up .5s ease calc(var(--i) * .05s) both; }

.fin-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
.fin-split--even { grid-template-columns: 1fr 1fr; margin-bottom: 0; margin-top: 56px; }
.fin-split__col { min-width: 0; }
.fin-h3 { margin: 0 0 10px; font-size: 21px; color: #fff; }
.fin-h3--wide { margin-bottom: 18px; }
.fin-p { margin: 0 0 18px; color: var(--aras-on-dark-muted); line-height: 1.9; }
.fin-checks { display: grid; gap: 8px; margin-top: 14px; }
.fin-checks li { display: flex; gap: 8px; align-items: center; color: #fff; font-size: 15px; }
.fin-checks .icon { color: var(--aras-amber); flex: 0 0 auto; }

.ef { display: block; width: 100%; max-width: 340px; margin-inline: auto; }
.ef-ring { fill: none; stroke: rgba(240,176,8,.4); stroke-width: 2; }
.ef-orbit { fill: var(--aras-amber); transform-box: view-box; transform-origin: 180px 140px; animation: a-spin 6s linear infinite; }
.ef-node { fill: #2f363d; stroke: rgba(255,255,255,.25); stroke-width: 1.5; }
.ef-en { fill: var(--aras-amber); font-size: 24px; font-weight: 700; }
.ef-fa { fill: #fff; font-size: 13px; }
.ef-core { fill: #fff; font-size: 30px; font-weight: 700; letter-spacing: .06em; }
.ef-plus { fill: none; stroke: var(--aras-amber); stroke-width: 3; stroke-linecap: round; }
.ef-fin { fill: var(--aras-amber); }
.ef-fin-text { fill: var(--aras-charcoal); font-size: 14px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .ef-orbit { animation: none; } }

.pf { display: grid; gap: 14px; }
.pf__row { display: grid; gap: 12px; }
.pf__row--top { grid-template-columns: 1fr 1fr; }
.pf__row--bottom { grid-template-columns: repeat(4, 1fr); }
.pf__box {
  display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); text-align: center; align-items: center;
}
.pf__box--equity, .pf__box--debt { border-color: rgba(240,176,8,.4); }
.pf__icon { color: var(--aras-amber); }
.pf__title { font-weight: 700; font-size: 14px; color: #fff; line-height: 1.6; }
.pf__sub { font-size: 12.5px; color: var(--aras-on-dark-muted); line-height: 1.6; }
.pf__spv {
  position: relative; display: grid; justify-items: center; gap: 2px; padding: 18px; border-radius: 14px;
  background: var(--aras-amber); color: var(--aras-charcoal); text-align: center;
}
.pf__spv strong { font-size: 24px; letter-spacing: .08em; }
.pf__spv span { font-size: 14px; font-weight: 500; }
.pf__spv::before, .pf__spv::after {
  content: ""; position: absolute; inset-inline-start: 50%; width: 2px; height: 14px; background: rgba(240,176,8,.7);
}
.pf__spv::before { bottom: 100%; }
.pf__spv::after { top: 100%; }
.pf__spv-flow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: pf-pulse 2.4s ease-out infinite; }
@keyframes pf-pulse { 0% { box-shadow: 0 0 0 0 rgba(240,176,8,.45); } 100% { box-shadow: 0 0 0 18px rgba(240,176,8,0); } }
.svc-js .pf:not(.is-playing) > * { opacity: 0; }
.svc-js .pf.is-playing .pf__row--top { animation: a-up .5s ease both; }
.svc-js .pf.is-playing .pf__spv { animation: a-up .6s ease .3s both; }
.svc-js .pf.is-playing .pf__row--bottom { animation: a-up .5s ease .6s both; }
@media (prefers-reduced-motion: reduce) { .pf__spv-flow { animation: none; } }

.fin-flow { display: flex; flex-wrap: wrap; gap: 10px 0; }
.fin-flow li {
  position: relative; padding: 8px 16px; margin-inline-end: 22px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 500; color: #fff;
}
.fin-flow li::after {
  /* the site is RTL only: the next step sits to the left, so the chevron does too */
  content: ""; position: absolute; top: 50%; left: -15px; width: 8px; height: 8px;
  border-top: 2px solid var(--aras-amber); border-left: 2px solid var(--aras-amber); transform: translateY(-50%) rotate(-45deg);
}
.fin-flow li:last-child { background: var(--aras-amber); color: var(--aras-charcoal); border-color: var(--aras-amber); }
.fin-flow li:last-child::after { display: none; }
.svc-js .fin-flow:not(.is-playing) li { opacity: 0; }
.svc-js .fin-flow.is-playing li { animation: a-up .45s ease calc(var(--i) * .07s) both; }

.fin-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-chips li { padding: 6px 14px; border-radius: 8px; background: rgba(240,176,8,.1); color: #fff; font-size: 14px; border: 1px solid rgba(240,176,8,.3); }
.fin-risks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fin-risks li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.05); color: #fff; font-size: 14px; line-height: 1.6; }
.fin-risks .icon { color: var(--aras-amber); flex: 0 0 auto; }

@media (max-width: 1080px) {
  .cgrid, .models { grid-template-columns: repeat(2, 1fr); }
  .road { grid-template-columns: repeat(7, 1fr); row-gap: 22px; }
  .road::before { display: none; }
  .permits, .fin-split, .fin-split--even { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cgrid, .models, .fin-risks { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; gap: 0; }
  .road__step { flex-direction: row; text-align: start; gap: 14px; padding-block: 6px; }
  .permits__list { grid-template-columns: repeat(2, 1fr); }
  .pf__row--top { grid-template-columns: 1fr; }
  .pf__row--bottom { grid-template-columns: 1fr 1fr; }
}

/* ======================================================= ENGINEERING +
   software per phase and procurement (DECISIONS.md ت۱۲، ت۱۶). */

.soft { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.soft__phase {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px;
  border-radius: 16px; background: var(--aras-bg); border: 1px solid var(--aras-line);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.soft__phase:hover { border-color: var(--aras-amber); box-shadow: 0 12px 28px rgba(38,44,50,.08); transform: translateY(-3px); }
.soft__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.soft__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--aras-amber); color: var(--aras-charcoal); font-weight: 700; }
.soft__icon { color: var(--aras-grey); }
.soft__en { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aras-grey); }
.soft__title { margin: 0 0 6px; font-size: 18px; }
.soft__tools { display: flex; flex-wrap: wrap; gap: 6px; }
.soft__tools li { padding: 3px 10px; border-radius: 6px; background: var(--aras-bg-alt); font-size: 13px; font-weight: 500; color: var(--aras-charcoal); }
.svc-js .soft:not(.is-playing) .soft__phase { opacity: 0; }
.svc-js .soft.is-playing .soft__phase { animation: a-up .55s ease calc(var(--i) * .08s) both; }
.soft__platform {
  margin: 24px 0 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px;
  background: var(--aras-amber-tint); color: var(--aras-charcoal); font-weight: 500; flex-wrap: wrap;
}
.soft__platform bdi { font-weight: 700; }

.proc {
  position: relative; display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin-bottom: 48px;
}
.proc::before {
  content: ""; position: absolute; top: 20px; inset-inline: 5%; height: 2px;
  background: linear-gradient(to left, var(--aras-amber), rgba(240,176,8,.15));
}
.proc__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.proc__dot {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--aras-charcoal-deep); border: 2px solid var(--aras-amber); color: #fff; font-weight: 700;
}
.proc__label { font-size: 13px; font-weight: 500; color: #fff; line-height: 1.5; }
.svc-js .proc:not(.is-playing) .proc__step { opacity: 0; }
.svc-js .proc.is-playing .proc__step { animation: a-up .45s ease calc(var(--i) * .09s) both; }
.svc-js .proc.is-playing .proc__dot { animation: proc-lit .4s ease calc(var(--i) * .09s + .25s) both; }
@keyframes proc-lit { to { background: var(--aras-amber); color: var(--aras-charcoal); } }

.proc-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.proc-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.proc-groups li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; font-size: 14px; font-weight: 500;
}
.proc-groups .icon { color: var(--aras-amber); flex: 0 0 auto; }
.svc-js .proc-groups:not(.is-playing) li { opacity: 0; }
.svc-js .proc-groups.is-playing li { animation: a-up .4s ease calc(var(--i) * .04s) both; }
.proc__out { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #fff; }
.svc-dark .cgrid__out-label { background: var(--aras-amber); color: var(--aras-charcoal); }

@media (max-width: 1080px) {
  .soft { grid-template-columns: repeat(2, 1fr); }
  .proc { grid-template-columns: repeat(5, 1fr); row-gap: 22px; }
  .proc::before { display: none; }
  .proc-split { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .soft { grid-template-columns: 1fr; }
  .proc { grid-template-columns: repeat(2, 1fr); }
  .proc__step { flex-direction: row; text-align: start; }
  .proc-groups { grid-template-columns: 1fr 1fr; }
}

/* ============================================================ SOLAR +
   smart operation, visual documentation, plant technology
   (DECISIONS.md ت۱۲، ت۱۶، ت۱۹، ت۲۰). */

.smart-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; margin-bottom: 28px; }
.pipe {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
  padding: 22px 18px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.pipe::before {
  content: ""; position: absolute; top: 40px; inset-inline: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(240,176,8,.8) 0 10px, transparent 10px 18px);
  animation: pipe-flow 1s linear infinite;
}
@keyframes pipe-flow { to { background-position: -18px 0; } }
.pipe__step { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.pipe__dot { width: 36px; height: 36px; border-radius: 50%; background: var(--aras-charcoal-deep); border: 2px solid var(--aras-amber); }
.pipe__en { font-weight: 700; color: #fff; font-size: 15px; }
.pipe__fa { font-size: 13px; color: var(--aras-on-dark-muted); }
.svc-js .pipe.is-playing .pipe__dot { animation: pipe-lit 4s ease-in-out calc(var(--i) * 1s) infinite; }
@keyframes pipe-lit { 0%, 20% { background: var(--aras-amber); box-shadow: 0 0 0 6px rgba(240,176,8,.2); } 30%, 100% { background: var(--aras-charcoal-deep); box-shadow: none; } }
.smart-target {
  margin: 0; display: grid; align-content: center; gap: 4px; padding: 20px 24px; border-radius: 16px;
  background: var(--aras-amber); color: var(--aras-charcoal);
}
.smart-target__value { font-size: 44px; font-weight: 700; line-height: 1.1; }
.smart-target__label { font-size: 16px; font-weight: 700; }

.smart { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.smart__card {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 18px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: border-color .2s ease, background-color .2s ease;
}
.smart__card:hover { border-color: rgba(240,176,8,.5); background: rgba(240,176,8,.07); }
.smart__icon { color: var(--aras-amber); }
.smart__title { margin: 0; color: #fff; font-size: 17px; }
.smart__text { margin: 0; color: var(--aras-on-dark-muted); font-size: 14px; line-height: 1.8; }
.svc-js .smart:not(.is-playing) .smart__card { opacity: 0; }
.svc-js .smart.is-playing .smart__card { animation: a-up .5s ease calc(var(--i) * .06s) both; }

.docwrap { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.1); }
.docwrap__title { margin: 0; color: #fff; font-size: clamp(22px, 2.2vw, 30px); }
.docwrap__lead { margin: 6px 0 24px; color: var(--aras-on-dark-muted); font-size: 17px; max-width: 70ch; }
.docsys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 32px; }
.docsys__item { display: grid; gap: 6px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.docsys__icon { color: var(--aras-amber); }
.docsys__title { margin: 0; color: #fff; font-size: 16px; }
.docsys__text { margin: 0; color: var(--aras-on-dark-muted); font-size: 14px; line-height: 1.8; }
.svc-js .docsys:not(.is-playing) .docsys__item { opacity: 0; }
.svc-js .docsys.is-playing .docsys__item { animation: a-up .5s ease calc(var(--i) * .07s) both; }

.pflow { display: flex; flex-wrap: wrap; gap: 10px 0; margin-bottom: 32px; }
.pflow__step { position: relative; margin-inline-end: 30px; }
.pflow__step span {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--aras-line); font-weight: 700; font-size: 14px; color: var(--aras-charcoal);
}
.pflow__step:first-child span { background: var(--aras-amber); border-color: var(--aras-amber); }
.pflow__step:last-child span { background: var(--aras-charcoal); border-color: var(--aras-charcoal); color: #fff; }
.pflow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; left: -22px; width: 14px; height: 2px; background: var(--aras-amber-dark);
}
.pflow__step:not(:last-child)::before {
  content: ""; position: absolute; top: 50%; left: -23px; width: 6px; height: 6px;
  border-top: 2px solid var(--aras-amber-dark); border-left: 2px solid var(--aras-amber-dark); transform: translateY(-50%) rotate(-45deg);
}
.svc-js .pflow:not(.is-playing) .pflow__step { opacity: 0; }
.svc-js .pflow.is-playing .pflow__step { animation: a-up .45s ease calc(var(--i) * .1s) both; }

.parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.parts__card {
  display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--aras-line);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.parts__card:hover { border-color: var(--aras-amber); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(38,44,50,.08); }
.parts__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.parts__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--aras-amber-tint); color: var(--aras-charcoal); }
.parts__en { font-size: 12px; font-weight: 700; color: var(--aras-grey); letter-spacing: .04em; }
.parts__title { margin: 0; font-size: 17px; }
.parts__text { margin: 0; font-size: 14px; color: var(--aras-grey); line-height: 1.8; }
.svc-js .parts:not(.is-playing) .parts__card { opacity: 0; }
.svc-js .parts.is-playing .parts__card { animation: a-up .5s ease calc(var(--i) * .05s) both; }

.principles { margin-top: 28px; padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--aras-line); }
.principles__title { margin: 0 0 12px; font-size: 18px; }
.principles ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 20px; }
.principles li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.principles .icon { flex: 0 0 auto; margin-top: 4px; color: var(--aras-ok); }

@media (prefers-reduced-motion: reduce) { .pipe::before, .pipe__dot { animation: none !important; } }
@media (max-width: 1080px) {
  .smart-top { grid-template-columns: 1fr; }
  .smart, .parts { grid-template-columns: repeat(2, 1fr); }
  .docsys { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .smart, .parts, .docsys { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .pipe::before { display: none; }
}

/* ============================================================= BESS +
   EMS, storage technology and the number-free case (DECISIONS.md ت۵، ت۱۲، ت۱۶). */

.case__count span { font-size: clamp(38px, 4.4vw, 56px); }
.case__client { margin: -8px 0 16px; color: var(--aras-on-dark-muted); font-size: 15px; }

.ems { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; margin-bottom: 36px; }
.ems__chart { margin: 0; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.soc { display: block; width: 100%; height: auto; }
.soc-axis { stroke: rgba(255,255,255,.25); stroke-width: 1.5; }
.soc-sun { fill: rgba(255,255,255,.05); }
.soc-area { fill: url(#soc-fill); }
.soc-line { fill: none; stroke: var(--aras-amber); stroke-width: 3; stroke-linecap: round; }
.soc-dot { fill: #fff; stroke: var(--aras-amber); stroke-width: 3; }
.soc-tags text { fill: var(--aras-on-dark-muted); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .soc-dot { display: none; } }
.ems__funcs { display: grid; gap: 10px; }
.ems__funcs li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); }
.ems__funcs strong { display: block; color: #fff; font-size: 15px; }
.ems__funcs li > span:last-child > span { color: var(--aras-on-dark-muted); font-size: 14px; line-height: 1.7; }
.ems__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(240,176,8,.12); color: var(--aras-amber); }
.svc-js .ems__funcs:not(.is-playing) li { opacity: 0; }
.svc-js .ems__funcs.is-playing li { animation: a-slide .5s ease calc(var(--i) * .07s) both; }

.ems-flow { display: grid; grid-template-columns: repeat(4, 1fr) 1.6fr; gap: 12px; }
.ems-flow li { position: relative; display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.ems-flow li:first-child { background: var(--aras-amber); border-color: var(--aras-amber); }
.ems-flow li:first-child bdi, .ems-flow li:first-child span { color: var(--aras-charcoal); }
.ems-flow bdi { font-weight: 700; font-size: 18px; color: #fff; }
.ems-flow span { font-size: 13px; color: var(--aras-on-dark-muted); }
.ems-flow__field { align-content: center; border-style: dashed !important; }
.svc-js .ems-flow:not(.is-playing) li { opacity: 0; }
.svc-js .ems-flow.is-playing li { animation: a-up .45s ease calc(var(--i) * .1s) both; }

.bt-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.bt-intro p { margin: 0; line-height: 1.95; color: var(--aras-text); }
.bt-h3 { margin: 0 0 16px; font-size: 20px; }
.bt-layers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 44px; }
.bt-layers li {
  position: relative; display: grid; gap: 4px; padding: 18px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--aras-line);
  border-top: 4px solid var(--aras-amber);
}
.bt-layers__num { position: absolute; top: 12px; inset-inline-end: 14px; font-weight: 700; color: var(--aras-line); font-size: 26px; line-height: 1; }
.bt-layers__icon { color: var(--aras-amber-dark); }
.bt-layers strong { font-size: 16px; }
.bt-layers bdi { font-size: 12px; font-weight: 700; color: var(--aras-grey); }
.bt-layers li > span:last-child { font-size: 14px; color: var(--aras-grey); line-height: 1.7; }
.svc-js .bt-layers:not(.is-playing) li { opacity: 0; }
.svc-js .bt-layers.is-playing li { animation: a-up .5s ease calc(var(--i) * .08s) both; }

.bt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.bt-chem { display: grid; gap: 8px; }
.bt-chem li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--aras-line); }
.bt-chem li.is-main { border-color: var(--aras-amber); background: var(--aras-amber-tint); }
.bt-chem__name { display: grid; }
.bt-chem__name bdi { font-weight: 700; font-size: 17px; }
.bt-chem__name small { font-size: 12px; color: var(--aras-grey); }
.bt-chem__text { font-size: 14px; line-height: 1.7; }
.bt-params { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.bt-params div { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--aras-line); }
.bt-params dt { font-weight: 700; font-size: 15px; }
.bt-params dt bdi { font-size: 12px; color: var(--aras-amber-dark); margin-inline-start: 4px; }
.bt-params dd { margin: 2px 0 0; font-size: 13.5px; color: var(--aras-grey); }

.bt-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 44px; align-items: end; }
.bt-tiers li { position: relative; display: grid; gap: 6px; padding: 18px 16px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--aras-line); overflow: hidden; }
.bt-tiers__bar { position: absolute; inset-inline-start: 0; bottom: 0; width: 5px; height: var(--h); background: var(--aras-amber); border-radius: 0 3px 0 0; }
.bt-tiers__icon { color: var(--aras-charcoal); }
.bt-tiers strong { font-size: 16px; }
.bt-tiers li > span:last-child { font-size: 14px; color: var(--aras-grey); line-height: 1.75; }
.svc-js .bt-tiers:not(.is-playing) li { opacity: 0; }
.svc-js .bt-tiers.is-playing li { animation: a-up .5s ease calc(var(--i) * .1s) both; }

.bt-std { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bt-std li { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 16px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--aras-line); }
.bt-std bdi { font-weight: 700; font-size: 16px; color: var(--aras-charcoal); }
.bt-std span { font-size: 13px; color: var(--aras-grey); }
.bt-stages { display: grid; gap: 8px; }
.bt-stages li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--aras-line); font-size: 15px; }
.bt-stages__num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--aras-amber); font-weight: 700; font-size: 14px; }

@media (max-width: 1080px) {
  .ems, .bt-intro, .bt-split { grid-template-columns: 1fr; }
  .ems-flow { grid-template-columns: repeat(2, 1fr); }
  .ems-flow__field { grid-column: 1 / -1; }
  .bt-layers { grid-template-columns: repeat(3, 1fr); }
  .bt-tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .bt-layers, .bt-tiers, .bt-params { grid-template-columns: 1fr; }
  .bt-std { grid-template-columns: 1fr 1fr; }
  .bt-chem li { grid-template-columns: 1fr; gap: 4px; }
}
