/* ==========================================================
   Home hero — "Ideas, designed. Products, built. Properly."
   Mobile first. The scene is sized in container units (cqw), so it scales as one picture.
   ========================================================== */
.nh{position:relative;padding:calc(var(--hdr) + 34px) 0 30px;overflow:hidden;background:var(--bg)}
.nh-warm{position:absolute;right:-20vw;top:8%;width:80vw;max-width:1000px;aspect-ratio:1;background:radial-gradient(closest-side,rgba(251,216,197,.75),rgba(251,216,197,.25) 55%,transparent 75%);pointer-events:none}
.nh-in{position:relative;display:flex;flex-direction:column;gap:34px}

/* text */
.nh-lab{color:var(--ink)}
.nh-h{position:relative;font-family:Poppins;font-weight:500;font-size:clamp(34px,9.6vw,84px);line-height:.98;letter-spacing:-.03em;margin:20px 0 24px}
.nh-h .nl{display:block;white-space:nowrap}
.nh-h .serif{display:inline-block;color:var(--or);font-size:1.22em;letter-spacing:-.03em;line-height:.95;padding-right:.08em}
.nh-p{color:#3d3a36;font-size:16px;line-height:1.55;max-width:40ch}
.nh-p span{display:block}
.nh-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:16px 30px;margin-top:28px}

/* the drop + splash */
.nh-drop{position:absolute;left:0;top:0;z-index:6;width:12px;height:14px;margin:-7px 0 0 -6px;background:var(--or);border-radius:50% 50% 50% 50%/62% 62% 40% 40%;opacity:0;pointer-events:none;will-change:transform}
.nh-splash{position:absolute;left:0;top:0;z-index:5;width:0;height:0;pointer-events:none}
.nh-splash i{position:absolute;left:-30px;top:-30px;width:60px;height:60px;border-radius:50%;border:1.5px solid var(--or);opacity:0}

/* ---------- the scene ---------- */
.nh-scene{position:relative;container-type:inline-size;width:92%;align-self:center;aspect-ratio:1.08;perspective:1400px}   /* inset on phones so the card and sprig stay on screen */
.nl-w{position:absolute;will-change:transform}
.w-ball{left:-2%;bottom:16%;width:22%;z-index:3}
.w-s1{left:6%;bottom:17%;width:68%;z-index:1}
.w-s2{right:-4%;bottom:3%;width:58%;z-index:2}
.w-twig{right:-6%;top:16%;width:22%;z-index:0}
.w-lap{left:9%;top:4%;width:76%;z-index:2}
.w-card{right:-2%;bottom:20%;width:23%;z-index:3}
.w-phone{right:13%;bottom:6%;width:24%;z-index:4}

/* stone: soft beige with a fine grain, a lit top and a shaded front */
.nh-slab,.nh-ball{display:block;background-color:#e6ddd0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .29 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.nh-slab{position:relative;height:0;padding-bottom:24%;border-radius:2.2cqw;box-shadow:inset 0 2.2cqw 0 rgba(255,255,255,.35),inset 0 -1cqw 2cqw rgba(110,85,60,.25),0 3cqw 5cqw -2cqw rgba(110,80,50,.35)}
.nh-slab.s2{padding-bottom:22%}
.nh-ball{width:100%;aspect-ratio:1;border-radius:50%;background-image:radial-gradient(circle at 34% 30%,rgba(255,255,255,.55),rgba(255,255,255,0) 45%),radial-gradient(circle at 70% 78%,rgba(90,65,45,.35),rgba(90,65,45,0) 55%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .29 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");box-shadow:0 3cqw 4cqw -2cqw rgba(110,80,50,.4)}
.nh-shadow{position:absolute;border-radius:50%;background:radial-gradient(closest-side,rgba(120,90,60,.28),transparent);pointer-events:none}
.sh1{left:4%;bottom:12%;width:74%;height:9%}
.sh2{right:-6%;bottom:-1%;width:66%;height:9%}
.nh-twig{display:block;width:100%;overflow:visible;transform-origin:60% 100%;animation:twig 6s ease-in-out infinite}
.nh-twig path{fill:none;stroke:#b08a62;stroke-width:2;stroke-linecap:round}
.nh-twig ellipse{fill:#c9a37a}
@keyframes twig{50%{transform:rotate(3deg)}}

/* laptop */
.nh-lap{position:relative;transform-style:preserve-3d;transform:rotateY(-13deg) rotateX(3deg)}
.lp-lid{position:relative;aspect-ratio:1.5;border-radius:2.6cqw 2.6cqw .8cqw .8cqw;padding:1.6cqw;background:linear-gradient(150deg,#f1ede7,#d8d1c6);box-shadow:inset 0 0 0 .3cqw rgba(255,255,255,.6),0 4cqw 7cqw -3cqw rgba(90,60,30,.35);transform-origin:50% 100%}
.lp-scr{position:relative;height:100%;border-radius:1.4cqw;background:#fbfaf8;overflow:hidden;box-shadow:inset 0 0 0 .2cqw rgba(0,0,0,.06)}
.lp-base{height:2.4cqw;margin:0 -4%;border-radius:0 0 2.4cqw 2.4cqw;background:linear-gradient(#ece6dd,#c8bfb2);box-shadow:0 2cqw 3cqw -1cqw rgba(90,60,30,.3)}
.lp-portal{position:absolute;left:62%;top:56%;width:10cqw;height:10cqw;margin:-5cqw 0 0 -5cqw;border-radius:50%;background:radial-gradient(closest-side,rgba(255,85,0,.55),rgba(255,85,0,.15) 60%,transparent);box-shadow:0 0 0 .4cqw rgba(255,85,0,.6);opacity:0;z-index:3;pointer-events:none}

/* dashboard inside the laptop */
.db{position:absolute;inset:0;display:flex;flex-direction:column}
.db-top{display:flex;align-items:center;gap:.8cqw;height:5cqw;padding:0 2cqw;border-bottom:.15cqw solid rgba(0,0,0,.05)}
.db-top>i{width:1.1cqw;height:1.1cqw;border-radius:50%;background:#ff5f56}
.db-top>i:nth-child(2){background:#ffbd2e}.db-top>i:nth-child(3){background:#27c93f}
.db-search{width:16cqw;height:1.8cqw;margin-left:4cqw;border-radius:2cqw;background:#f0ece6}
.db-av{width:2.6cqw;height:2.6cqw;margin-left:auto;border-radius:50%;background:var(--ink)}
.db-body{flex:1;display:grid;grid-template-columns:15% 1fr;min-height:0}
.db-side{display:flex;flex-direction:column;gap:2cqw;padding:2.4cqw 2cqw;border-right:.15cqw solid rgba(0,0,0,.05)}
.db-side b{width:2.6cqw;height:2.6cqw;border-radius:50%;background:var(--or)}
.db-side span{display:flex;align-items:center;gap:1cqw}
.db-side span::before{content:"";width:1.3cqw;height:1.3cqw;border-radius:50%;border:.2cqw solid #cfc8bd}
.db-side span i{flex:1;height:.7cqw;border-radius:1cqw;background:#e8e3dc}
.db-side span.on::before{border-color:var(--ink);background:var(--ink)}
.db-side span.on i{background:var(--ink)}
.db-main{display:grid;grid-template-columns:1.9fr 1fr;grid-template-rows:1.25fr 1fr;gap:1.8cqw;padding:2cqw;min-height:0}
.db-card{position:relative;border-radius:1.4cqw;background:#fff;box-shadow:0 .3cqw 1.2cqw rgba(0,0,0,.05);overflow:hidden;min-height:0}
.db-chart{padding:1.6cqw 1.6cqw 0;display:flex;flex-direction:column}
.db-ct{display:flex;justify-content:space-between;margin-bottom:1cqw}
.db-ct b{width:9cqw;height:1cqw;border-radius:1cqw;background:var(--ink)}
.db-ct s{width:5cqw;height:1.6cqw;border-radius:1cqw;background:var(--peach)}
.db-chart svg{flex:1;width:100%;min-height:0;overflow:visible}
.db-line{fill:none;stroke:var(--or);stroke-width:2.4;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1}
.db-dot{position:absolute;right:1.2cqw;top:4.4cqw;width:1.4cqw;height:1.4cqw;border-radius:50%;background:var(--or);box-shadow:0 0 0 0 rgba(255,85,0,.5);animation:dbPulse 2s ease-out infinite}
@keyframes dbPulse{70%{box-shadow:0 0 0 1.4cqw rgba(255,85,0,0)}100%{box-shadow:0 0 0 0 rgba(255,85,0,0)}}
.db-donut{display:grid;place-items:center;padding:1.4cqw}
.db-donut svg{width:78%;transform:rotate(-90deg);overflow:visible}
.db-donut circle{fill:none;stroke-width:13}
.dn-bg{stroke:#eee9e2}
.dn-a{stroke:var(--or);stroke-dasharray:62 100}
.dn-b{stroke:var(--ink);stroke-dasharray:18 100;stroke-dashoffset:-62}
.db-list,.db-list2{display:flex;flex-direction:column;justify-content:space-around;padding:1.2cqw 1.6cqw}
.db-list span,.db-list2 span{display:flex;align-items:center;gap:1.2cqw}
.db-list b{width:2.2cqw;height:2.2cqw;border-radius:50%;background:#e9d5c6;flex:none}
.db-list b.o{background:var(--or)}.db-list b.p{background:#f4b28c}.db-list b.k{background:var(--ink)}
.db-list i,.db-list2 i{flex:1;height:.8cqw;border-radius:1cqw;background:#ece7e0}
.db-list2 b{width:1.2cqw;height:1.2cqw;border-radius:50%;background:var(--ink);flex:none}
.db-list2 b.o{background:var(--or)}

/* peach card */
.nh-card{position:relative;aspect-ratio:.68;border-radius:2cqw;padding:2cqw;background:linear-gradient(160deg,#fde3d4,#f8c3a6);box-shadow:0 3cqw 5cqw -2cqw rgba(160,70,20,.35);transform:rotate(7deg);display:flex;flex-direction:column;gap:1.2cqw}
.cd-bar{width:55%;height:1cqw;border-radius:1cqw;background:var(--or);align-self:flex-end}
.cd-pic{position:relative;flex:1;border-radius:1.4cqw;background:#fff1e8;overflow:hidden}
.cd-pic .sun{position:absolute;right:18%;top:16%;width:5cqw;height:5cqw;border-radius:50%;background:#f7a77c}
.cd-pic .m1,.cd-pic .m2{position:absolute;bottom:0;width:80%;height:62%;background:linear-gradient(#f39a6a,#e9875a);clip-path:polygon(0 100%,38% 18%,58% 52%,74% 30%,100% 100%)}
.cd-pic .m1{left:-6%}
.cd-pic .m2{right:-30%;height:46%;background:linear-gradient(#e7cdbb,#d9b8a2)}
.cd-l{height:.9cqw;border-radius:1cqw;background:rgba(0,0,0,.18);width:80%}
.cd-l.s{width:55%}
.cd-btn{height:3cqw;border-radius:2cqw;background:var(--or)}

/* phone */
.nh-phone{position:relative;aspect-ratio:1/2.05;border-radius:4cqw;padding:.9cqw;background:linear-gradient(150deg,#2b2b2b,#0d0d0d);box-shadow:inset 0 0 0 .25cqw #3a3a3a,0 5cqw 7cqw -3cqw rgba(0,0,0,.45);transform:rotate(5deg)}
.pn-scr{position:relative;height:100%;border-radius:3.2cqw;background:#121212;overflow:hidden;padding:4.2cqw 2cqw 2cqw;display:flex;flex-direction:column;gap:1.8cqw}
.pn-notch{position:absolute;left:50%;top:1cqw;width:7cqw;height:1.8cqw;margin-left:-3.5cqw;border-radius:2cqw;background:#000}
.pn-head{display:flex;align-items:center;gap:1.2cqw}
.pn-head b{width:3.2cqw;height:3.2cqw;border-radius:50%;background:var(--or);flex:none}
.pn-head span{flex:1;display:flex;flex-direction:column;gap:.6cqw}
.pn-head i,.pn-card>i{display:block;height:.8cqw;border-radius:1cqw;background:rgba(255,255,255,.55);width:80%}
.pn-head i.s,.pn-card>i.s{width:50%;background:rgba(255,255,255,.25)}
.pn-card{border-radius:1.8cqw;background:#1d1d1d;padding:1.6cqw;display:flex;flex-direction:column;gap:.8cqw}
.pn-bars{display:flex;align-items:flex-end;gap:.7cqw;height:9cqw;margin-top:.6cqw}
.pn-bars span{flex:1;height:var(--h);border-radius:.4cqw .4cqw 0 0;background:linear-gradient(#ff7a33,#c94100);transform-origin:bottom}
.pn-bars span:nth-child(-n+3){background:#3a3a3a}
.pn-rows{flex:1;display:flex;flex-direction:column;justify-content:space-around;border-radius:1.8cqw;background:#1d1d1d;padding:1cqw 1.6cqw}
.pn-rows span{display:flex;align-items:center;gap:1cqw}
.pn-rows b{width:2.4cqw;height:2.4cqw;border-radius:50%;background:#e8e3dc;flex:none}
.pn-rows i{flex:1;height:.7cqw;border-radius:1cqw;background:rgba(255,255,255,.3)}
.pn-nav{display:flex;justify-content:space-around;padding-top:.4cqw}
.pn-nav i{width:1.4cqw;height:1.4cqw;border-radius:50%;border:.25cqw solid rgba(255,255,255,.5)}
.pn-nav i.on{background:var(--or);border-color:var(--or)}

/* service strip */
.nh-strip{position:relative;display:grid;margin-top:40px;padding-top:6px}
.ns-line{position:absolute;left:0;right:0;top:0;height:1px;background:rgba(0,0,0,.14);transform-origin:left}
.ns{display:flex;align-items:center;gap:.6em;padding:16px 0;border-bottom:1px solid var(--line);font-family:"JetBrains Mono",monospace;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--ink);transition:color .3s}
.ns em{font-style:normal;color:#D64700}   /* a shade deeper than --or so the small numbers read clearly */
.ns:hover{color:var(--or)}

/* ==========================================================
   TABLET ≥ 768
   ========================================================== */
@media (min-width:768px){
  .nh{padding-bottom:36px}
  .nh-h{font-size:min(8.4vw,80px)}
  .nh-p{font-size:18px}
  .nh-scene{width:86%;align-self:center}
  .nh-strip{grid-template-columns:repeat(3,1fr);margin-top:46px}
  .ns{border-bottom:0;padding:22px 0 8px}
  .ns+.ns{border-left:1px solid rgba(0,0,0,.14);padding-left:6%}
  .ns:nth-child(3){justify-content:center}
  .ns:nth-child(4){justify-content:flex-end}
}

/* ==========================================================
   DESKTOP ≥ 1100 — text left, scene right, one screen tall
   ========================================================== */
@media (min-width:1100px){
  .nh{min-height:100vh;padding:calc(var(--hdr) + 40px) 0 28px;display:flex;flex-direction:column}
  .nh-in{flex:1;display:grid;grid-template-columns:1fr 1.02fr;align-items:center;gap:2vw}
  .nh-h{font-size:min(5.3vw,84px);margin:22px 0 26px}
  .nh-scene{width:min(124%,calc(78vh * 1.08));margin-left:-6%}
  .nh>.wrap{width:100%}
  .nh-strip{margin-top:auto}
}
