/* ARXStack company site. One dark look by choice: black, gold from the logo, one family (Archivo) in varying widths. */
:root{
  --bg:#000000;
  --fg:#EDE6D6;
  --soft:#CFC8B8;
  --mut:#A8A290;
  --line:#34311F;
  --gold:#E1B95A;
  --gold-hi:#E3BC62;
  --ease:cubic-bezier(.16,1,.3,1);
  --pad:clamp(20px,5vw,56px);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--fg);font-family:'Archivo',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-stretch:100%;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
:focus-visible{outline:3px solid var(--gold);outline-offset:4px}

.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--gold);color:#000;padding:10px 14px;font-weight:600}
.skip:focus{left:16px}

.page{overflow:hidden;min-height:100vh}
.wrap{max-width:1280px;margin:0 auto;padding-block:32px 48px;padding-left:max(var(--pad),env(safe-area-inset-left,0px));padding-right:max(var(--pad),env(safe-area-inset-right,0px))}

/* header */
.top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;animation:fadein 1.2s ease .05s both}
.brand{display:flex;align-items:center;gap:12px}
.brand-name{font-stretch:125%;font-weight:700;font-size:18px;letter-spacing:.03em}
.nav{display:flex;flex-wrap:wrap;gap:32px;font-size:15px}
.nav a{padding-bottom:3px;background:linear-gradient(var(--gold),var(--gold)) 0 100%/0 1px no-repeat;transition:background-size .35s ease}
.nav a:hover{background-size:100% 1px}

/* hero */
.hero{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:40px;padding:56px 0 104px}
.hero-mark{position:relative;z-index:1;width:min(300px,64vw)}
.hero-mark svg{display:block;width:100%;height:auto}
.hero-h{position:relative;z-index:2;width:100%;max-width:1100px;min-width:0;font-stretch:118%;font-weight:700;font-size:clamp(32px,6vw,80px);line-height:.98;letter-spacing:-0.025em;text-transform:uppercase;text-wrap:balance}
.hero-p{position:relative;z-index:2;max-width:480px;font-size:19px;line-height:1.55;color:var(--soft)}
.ln{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}
.ln>span{display:block;animation:line 1.4s var(--ease) both}
.ln:nth-child(1)>span{animation-delay:2.1s}
.ln:nth-child(2)>span{animation-delay:2.25s}
.u1{animation:up .9s cubic-bezier(.2,.7,.2,1) .1s both}
.u2{animation:up .9s cubic-bezier(.2,.7,.2,1) 2.7s both}

/* logo: three bars drop in one at a time, bottom first, then drift slowly */
.m3{animation:drop 1.1s cubic-bezier(.5,0,.4,1) .3s both}
.m2{animation:drop 1.1s cubic-bezier(.5,0,.4,1) .9s both}
.m1{animation:drop 1.1s cubic-bezier(.5,0,.4,1) 1.5s both}
.s1{animation:sway1 14s ease-in-out 3s infinite alternate}
.s2{animation:sway2 17s ease-in-out 3s infinite alternate}
.s3{animation:sway3 20s ease-in-out 3s infinite alternate}

/* glow behind the whole hero */
.glow{position:absolute;left:50%;top:50%;width:0;height:0;z-index:0;pointer-events:none}
.orbit{position:absolute;left:50%;top:50%;width:0;height:0}
.orbit i{position:absolute;display:block;border-radius:50%;background:radial-gradient(circle,rgba(244,206,120,.95),rgba(225,185,90,0) 68%)}
.o1{animation:orbit 24s linear infinite}
.o2{animation:orbitR 34s linear infinite}
.o3{animation:orbit 46s linear infinite}
.o4{animation:orbitR 20s linear infinite}
.o5{animation:orbit 52s linear infinite}
.o6{animation:orbitR 40s linear infinite}
.o7{animation:orbit 16s linear infinite}
.o8{animation:orbitR 58s linear infinite}
.o1 i{width:200px;height:200px;left:calc(min(36vw,460px) - 100px);top:-100px;filter:blur(26px);opacity:.40}
.o2 i{width:150px;height:150px;left:calc(-1 * min(30vw,400px) - 75px);top:-75px;filter:blur(24px);opacity:.38}
.o3 i{width:120px;height:120px;left:-60px;top:calc(min(18vw,230px) - 60px);filter:blur(22px);opacity:.38}
.o4 i{width:90px;height:90px;left:-45px;top:calc(-1 * min(16vw,210px) - 45px);filter:blur(18px);opacity:.50}
.o5 i{width:170px;height:170px;left:calc(min(22vw,290px) - 85px);top:calc(min(12vw,160px) - 85px);filter:blur(28px);opacity:.30}
.o6 i{width:110px;height:110px;left:calc(-1 * min(40vw,520px) - 55px);top:-55px;filter:blur(20px);opacity:.36}
.o7 i{width:70px;height:70px;left:calc(min(28vw,360px) - 35px);top:calc(-1 * min(14vw,180px) - 35px);filter:blur(14px);opacity:.55}
.o8 i{width:130px;height:130px;left:calc(-1 * min(14vw,180px) - 65px);top:calc(min(20vw,260px) - 65px);filter:blur(24px);opacity:.34}
.halo{position:absolute;left:50%;top:50%;width:min(900px,92vw);aspect-ratio:1;margin:calc(min(900px,92vw) / -2) 0 0 calc(min(900px,92vw) / -2);border-radius:50%;background:radial-gradient(circle,rgba(225,185,90,.5),rgba(225,185,90,0) 64%);filter:blur(28px);opacity:.5;animation:breathe 7s ease-in-out infinite}

/* shared bits */
.label{font-size:14px;font-weight:400;color:var(--mut);letter-spacing:0}
.label-row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-bottom:20px}
.rule{height:1px;background:var(--line);transform-origin:left}

/* products */
.products{padding:0 0 88px}
.product{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 32px;padding:28px 0;border-top:1px solid var(--line)}
.product-name{font-stretch:112%;font-weight:600;font-size:clamp(28px,4vw,48px);letter-spacing:-0.02em}
.product-desc{flex:1 1 280px;min-width:0;font-size:17px;line-height:1.5;color:var(--mut)}
.product{transition:background-color .3s}
.product:hover .product-name{color:var(--gold)}
.product-name{transition:color .3s}
.product-status{flex:0 0 auto;font-size:15px;font-weight:600;color:var(--gold)}

/* why: the logo's three layers as three bars, A R X */
.why{padding:0 0 24px}
.why .label{display:block;padding-bottom:20px}
.stk{display:flex;flex-direction:column;align-items:center;gap:14px;--s:36px;padding:8px 0 24px}
.lay{position:relative;width:100%;padding:1.5px;background:var(--g);clip-path:polygon(0 var(--s),100% 0,100% calc(100% - var(--s)),0 100%)}
.lay-a{width:56%;--g:linear-gradient(180deg,#E7C26C,#D4A94F)}
.lay-r{width:78%;--g:linear-gradient(180deg,#CF9F42,#B98F38)}
.lay-x{width:100%;--g:linear-gradient(180deg,#B88E39,#9F7A2F)}
.in{display:block;padding:52px 56px 40px 64px;background-color:rgba(0,0,0,1);color:var(--fg);clip-path:polygon(0 var(--s),100% 0,100% calc(100% - var(--s)),0 100%);transition:background-color .7s ease,color .7s ease}
.lay.is-open .in{background-color:rgba(0,0,0,0);color:#000}
.row3{position:static;display:flex;align-items:baseline;gap:28px;width:100%;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.row3::after{content:"";position:absolute;inset:0}
.row3:focus-visible{outline:3px solid currentColor;outline-offset:-8px}
.ltr{font-stretch:125%;font-weight:800;font-size:68px;line-height:.9;letter-spacing:-0.03em;min-width:70px}
.ttl{font-stretch:112%;font-weight:600;font-size:clamp(22px,2.4vw,30px);letter-spacing:-0.01em}
.lp{display:grid;grid-template-rows:1fr}
.lp-i{overflow:hidden;min-height:0}
.lp p{margin:16px 0 0 98px;max-width:520px;font-size:18px;line-height:1.55}
.js .lp{grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .8s var(--ease),visibility 0s .8s}
.js .lay.is-open .lp{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .8s var(--ease),visibility 0s}
.js .lp p{opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .8s var(--ease)}
.js .lay.is-open .lp p{opacity:1;transform:none}

/* about */
.about{display:flex;flex-direction:column;gap:18px;padding:32px 0 88px}
.about-p{max-width:860px;font-size:clamp(22px,2.6vw,30px);line-height:1.45;color:var(--fg)}

/* footer */
.foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px 32px;padding-top:20px;font-size:13px;color:#8C8673}

/* animations */
@keyframes fadein{from{opacity:0}to{opacity:1}}
@keyframes up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes line{from{transform:translateY(110%)}to{transform:none}}
@keyframes drop{0%{opacity:0;transform:translateY(-300px)}12%{opacity:1}58%{opacity:1;transform:translateY(16px)}78%{transform:translateY(-6px)}100%{opacity:1;transform:none}}
@keyframes sway1{from{transform:translateX(0)}to{transform:translateX(-16px)}}
@keyframes sway2{from{transform:translateX(0)}to{transform:translateX(10px)}}
@keyframes sway3{from{transform:translateX(0)}to{transform:translateX(-5px)}}
@keyframes orbit{to{transform:rotate(360deg)}}
@keyframes orbitR{to{transform:rotate(-360deg)}}
@keyframes breathe{0%,100%{opacity:.4;transform:scale(1)}50%{opacity:.7;transform:scale(1.14)}}
@keyframes draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes srv{from{opacity:.2;transform:translateY(34px)}to{opacity:1;transform:none}}
@supports (animation-timeline:view()){
  .sr{animation:srv linear both;animation-timeline:view();animation-range:entry 5% entry 60%}
  .rule.sc{animation:draw linear both;animation-timeline:view();animation-range:entry 0% entry 75%}
}

/* tablets: wider bars so the text does not wrap too tightly */
@media (max-width:1000px){.lay-a{width:80%}.lay-r{width:90%}}

/* phones and small screens */
@media (max-width:760px){
  .wrap{padding-block:24px 40px}
  .hero{padding:40px 0 72px;gap:32px}
  .hero-p{font-size:17px}
  .stk{--s:18px}
  .lay,.lay-a,.lay-r,.lay-x{width:100%}
  .in{padding:34px 22px 26px 26px}
  .ltr{font-size:48px;min-width:48px}
  .row3{gap:18px}
  .js .lp{grid-template-rows:1fr;visibility:visible}
  .js .lp p,.lp p{margin-left:66px;opacity:1;transform:none}
  .products,.about{padding-bottom:64px}
}

/* large screens: scale the whole layout up so it does not sit as a small column */
@media (min-width:1800px){.page{zoom:1.3}}
@media (min-width:2400px){.page{zoom:1.8}}
@media (min-width:3200px){.page{zoom:2.4}}
@media (min-width:4400px){.page{zoom:3.2}}

/* short landscape screens (phones on their side) */
@media (max-height:480px) and (orientation:landscape){
  .hero{padding:24px 0 56px;gap:20px}
  .hero-mark{width:min(180px,30vh*2)}
}

/* respect reduced motion: show the final state, no movement */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
