/* stacknup.com: the one stylesheet, shared by every page. */
:root{
  --paper:#f8f6f1; --paper-2:#efece5; --ink:#12182a; --ink-2:#4b5368; --muted:#7b8397; --line:#e3dfd6; --hair:rgb(18 24 42 / .08);
  --navy:#0a172e; --navy-2:#101f3d; --violet:#7b3ff2; --orange:#fd741d; --teal:#00b7a3;
  --r:18px; --ease:cubic-bezier(.2,.7,.2,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font:17px/1.65 Manrope,ui-sans-serif,system-ui,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
::selection{background:rgb(123 63 242 / .18)}
:focus-visible{outline:2px solid var(--violet);outline-offset:3px;border-radius:6px}
img{max-width:100%}
.wrap{max-width:1160px;margin:0 auto;padding:0 28px}
.mono{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:12.5px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}

/* ---------- header ---------- */
header{padding:16px 0;position:sticky;top:0;z-index:5;background:rgb(248 246 241 / .82);backdrop-filter:blur(14px);border-bottom:1px solid var(--hair)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:16px}
.lockup{display:flex;align-items:center;gap:12px}
.lockup .mark{height:38px;width:auto;display:block}
.lockup .word{height:20px;width:auto;display:block}
nav{display:flex;align-items:center;gap:26px}
nav a{color:var(--ink-2);text-decoration:none;font-weight:600;font-size:14.5px;transition:color .15s}
nav a:hover{color:var(--ink)}
nav a.cta{color:#fff;background:var(--ink);padding:9px 16px;border-radius:999px;transition:background .2s}
nav a.cta:hover{background:var(--violet)}
.lang{display:flex;gap:2px;background:var(--paper-2);border-radius:999px;padding:3px}
.lang button{font:inherit;font-size:12.5px;font-weight:700;color:var(--muted);background:none;border:0;border-radius:999px;padding:5px 11px;cursor:pointer;transition:all .15s}
.lang button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgb(18 24 42 / .12)}

.burger{display:none;background:none;border:0;color:var(--ink);padding:8px;margin:-8px;border-radius:10px;cursor:pointer}
.burger:hover{background:rgb(255 255 255 / .08)}
.menu{position:absolute;left:0;right:0;top:100%;z-index:6;background:#0b1830;box-shadow:0 30px 60px -20px rgb(0 0 0 / .7);border-bottom:1px solid rgb(255 255 255 / .08);padding:8px 20px 16px;display:grid}
.menu a{padding:14px 8px;border-bottom:1px solid rgb(255 255 255 / .08);color:var(--ink);text-decoration:none;font-weight:600;font-size:17px}
.menu a:last-of-type{border-bottom:0}
.menu[hidden]{display:none}

/* ---------- plain pages (privacy, 404) ---------- */
.page{max-width:760px;margin:0 auto;padding:72px 28px 96px}
.page h1{font-size:clamp(32px,4vw,44px);margin:0 0 10px;line-height:1.1}
.page .updated{color:var(--muted);font-size:14px;margin:0 0 40px}
.page h2{font-size:22px;margin:40px 0 12px;max-width:none}
.page p,.page li{color:var(--ink-2);font-size:16.5px;line-height:1.7}
.page ul{padding-left:20px}
.page a{color:#b79bff}
.page .back{display:inline-block;margin-top:48px;color:var(--ink);text-decoration:none;font-weight:600;border-bottom:1px solid rgb(255 255 255 / .4)}
.form .foot small a,footer a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgb(255 255 255 / .35)}
.form .foot small a:hover,footer a:hover{color:var(--ink)}

/* ---------- type ---------- */
h1,h2,h3{font-family:Literata,Georgia,serif;font-weight:500;letter-spacing:-.015em;margin:0}
h2{font-size:clamp(30px,3.8vw,46px);line-height:1.1;margin:0 0 18px;max-width:22ch;text-wrap:balance}
.kicker{display:flex;align-items:center;gap:12px;margin:0 0 20px}
.kicker::before{content:"";width:28px;height:1px;background:var(--violet)}
.lead{font-size:19px;color:var(--ink-2);max-width:60ch;margin:0 0 56px;line-height:1.6}

/* ---------- bands ---------- */
section{padding:120px 0}
section.tint{background:var(--paper-2)}
section.dark{background:var(--navy);color:#fff}
section.dark .kicker{color:#8f9bb8}
section.dark .kicker::before{background:var(--teal)}
section.dark .lead{color:#b7c0d6}

/* ---------- hero ---------- */
.hero-band{position:relative;overflow:hidden}
.hero-band::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(ellipse 60% 70% at 8% 0%, rgb(123 63 242 / .14) 0, transparent 60%),
    radial-gradient(ellipse 50% 60% at 96% 6%, rgb(253 116 29 / .13) 0, transparent 55%),
    radial-gradient(ellipse 60% 50% at 60% 115%, rgb(0 183 163 / .10) 0, transparent 60%);
}
.hero-band::after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:radial-gradient(rgb(18 24 42 / .08) 1px, transparent 1px);background-size:22px 22px;
  -webkit-mask-image:linear-gradient(to bottom, #000 0, transparent 85%);mask-image:linear-gradient(to bottom, #000 0, transparent 85%);
}
.hero-band>*{position:relative}
.hero{padding:72px 0 96px;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero>div:first-child{min-width:0}
.hero .why{margin:0 0 18px;font-size:14.5px;font-weight:600;letter-spacing:.02em;color:#b79bff;display:flex;flex-wrap:wrap;row-gap:4px}
.hero .why span{white-space:nowrap}
.hero .why span+span::before{content:"·";margin:0 10px;color:#8f9bb8;font-weight:400}
.hero h1{font-size:clamp(34px,4.5vw,58px);line-height:1.06;margin:0 0 22px;text-wrap:balance}
.hero h1 em{font-style:italic;color:var(--violet)}
.hero p{font-size:clamp(16px,1.6vw,18px);color:var(--ink-2);max-width:50ch;margin:0}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.stage{position:relative;aspect-ratio:1.18}
.stage .win{position:absolute}
.stage .s1{width:88%;left:0;top:0}
.stage .s2{width:60%;right:0;bottom:0}

/* A screenshot in a window: three dots, a title line, the picture.
   Browser chrome says "this is real software" better than a bare image. */
.win{background:#fff;border-radius:12px;border:1px solid rgb(18 24 42 / .10);box-shadow:0 30px 70px -30px rgb(18 24 42 / .45), 0 2px 6px rgb(18 24 42 / .06);overflow:hidden}
.win .chrome{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#f4f3f0;border-bottom:1px solid rgb(18 24 42 / .08)}
.win .chrome i{width:9px;height:9px;border-radius:50%;background:#dcd8cf;display:block}
.win .chrome i:nth-child(1){background:#f0b3ac}.win .chrome i:nth-child(2){background:#f2d49b}.win .chrome i:nth-child(3){background:#b8ddc0}
.win .chrome span{margin-left:8px;font-family:"JetBrains Mono",monospace;font-size:11px;color:#9a9ea8;letter-spacing:.02em}
.win img{display:block;width:100%;height:auto}
section.dark .win{border-color:rgb(255 255 255 / .12);box-shadow:0 50px 100px -40px rgb(0 0 0 / .85)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;
  border:1.5px solid var(--ink);border-radius:999px;padding:10px 20px 10px 11px;
  color:var(--ink);text-decoration:none;font-weight:600;font-size:15px;
  transition:background .2s var(--ease),color .2s var(--ease),transform .2s var(--ease),border-color .2s;
}
.btn img{width:22px;height:22px;border-radius:6px;display:block}
.btn:hover{background:var(--ink);color:#fff;transform:translateY(-1px)}
.btn:not(:has(img)){padding:11px 22px}
.btn.primary{background:var(--ink);color:#fff}
.btn.primary:hover{background:var(--violet);border-color:var(--violet)}
.btn.light{border-color:rgb(255 255 255 / .8);color:#fff}
.btn.light:hover{background:#fff;color:var(--navy);border-color:#fff}

/* ---------- about / process ---------- */
.about{display:grid;grid-template-columns:1fr 1.5fr;gap:40px 80px;align-items:start}
.about p{font-size:18px;color:var(--ink-2);margin:0 0 18px;max-width:60ch}
.about p.stance{font-family:Literata,serif;font-weight:500;font-size:clamp(20px,2.2vw,26px);line-height:1.3;color:var(--ink);margin-bottom:22px;text-wrap:balance}
.about p:last-child{margin-bottom:0}

/* ---------- how we work: four steps ---------- */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:26px 40px}
.steps li{padding-top:18px;border-top:1px solid rgb(255 255 255 / .14)}
.steps .mono{display:block;color:var(--orange);margin-bottom:10px}
.steps b{display:block;font-family:Literata,serif;font-weight:500;font-size:22px;margin:0 0 6px}
.steps p{margin:0;color:var(--ink-2);font-size:15.5px;line-height:1.6}
@media (max-width:560px){.steps{grid-template-columns:1fr}}

/* ---------- questions ---------- */
.faq details{border-top:1px solid rgb(255 255 255 / .14)}
.faq details:last-child{border-bottom:1px solid rgb(255 255 255 / .14)}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;font-family:Literata,serif;font-weight:500;font-size:20px;line-height:1.3}
.faq summary::-webkit-details-marker{display:none}
.faq summary i{flex:0 0 auto;width:26px;height:26px;border-radius:50%;border:1px solid rgb(255 255 255 / .25);position:relative;transition:transform .25s var(--ease),background .2s}
.faq summary i::before,.faq summary i::after{content:"";position:absolute;left:50%;top:50%;width:11px;height:1.5px;background:currentColor;transform:translate(-50%,-50%)}
.faq summary i::after{transform:translate(-50%,-50%) rotate(90deg)}
.faq details[open] summary i{transform:rotate(45deg);background:rgb(255 255 255 / .08)}
.faq summary:hover i{background:rgb(255 255 255 / .08)}
.faq p{margin:0 0 22px;color:var(--ink-2);font-size:16px;line-height:1.65;max-width:62ch}

/* ---------- services ---------- */
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px}
.services>div{background:#fff;border:1px solid var(--hair);border-radius:var(--r);padding:30px 28px 32px;transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.services>div:hover{transform:translateY(-3px);box-shadow:0 24px 50px -30px rgb(18 24 42 / .35)}
.services svg{width:26px;height:26px;stroke:var(--violet);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:22px;display:block}
.services b{display:block;font-family:Literata,serif;font-weight:500;font-size:21px;line-height:1.25;letter-spacing:-.01em;margin:0 0 10px}
.services p{margin:0;color:var(--ink-2);font-size:15px;line-height:1.6}

/* ---------- work ---------- */
.case{padding:64px 0}
.case+.case{border-top:1px solid rgb(255 255 255 / .1)}
.case .top{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.case .top h3{font-size:clamp(26px,3vw,36px);margin:8px 0 0}
.case .top .logo{height:36px;width:auto;display:block;margin-top:10px}
.story{display:grid;grid-template-columns:1.1fr 1fr .85fr;gap:44px;margin-top:40px}
.story h4{font-family:"JetBrains Mono",monospace;font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#8f9bb8;margin:0 0 14px}
.story p{margin:0;color:#b7c0d6;font-size:15.5px;line-height:1.65}
.story ul{margin:0;padding:0;list-style:none}
.story li{padding:10px 0;border-top:1px solid rgb(255 255 255 / .1);font-size:15.5px;color:#b7c0d6;line-height:1.55}
.story li:last-child{border-bottom:1px solid rgb(255 255 255 / .1)}
.story li b{color:#fff;font-weight:600}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}
.tags span{font-family:"JetBrains Mono",monospace;font-size:11.5px;color:#c9d2e6;background:rgb(255 255 255 / .07);border:1px solid rgb(255 255 255 / .08);border-radius:6px;padding:4px 9px}
section.dark .btn{border-color:rgb(255 255 255 / .7);color:#fff}
section.dark .btn:hover{background:#fff;color:var(--navy);border-color:#fff}

.sites{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin-top:64px;padding-top:64px;border-top:1px solid rgb(255 255 255 / .1)}
.site .win{margin-bottom:20px}
.site p{color:#b7c0d6;margin:0 0 14px;font-size:15px}

/* ---------- a word from a client ---------- */
.quote{max-width:880px;margin:0 auto;text-align:center}
.quote .kicker{justify-content:center}
.quote blockquote{margin:0;font-family:Literata,serif;font-style:italic;font-weight:400;font-size:clamp(24px,3vw,36px);line-height:1.35;letter-spacing:-.01em;text-wrap:balance}
.quote blockquote::before{content:"\201C";display:block;font-size:84px;line-height:.6;color:var(--violet);opacity:.7;margin-bottom:18px;font-style:normal}
.quote figcaption{margin-top:28px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--ink-2);font-size:15px}
.quote figcaption img{width:34px;height:34px;border-radius:9px;border:1px solid var(--hair)}
.quote figcaption b{color:var(--ink);font-weight:600}

/* ---------- contact ---------- */
.contact{background:linear-gradient(135deg,#1a0f3d 0%,var(--navy) 60%);color:#fff;position:relative;overflow:hidden}
.contact::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 100% 0%, rgb(123 63 242 / .45) 0, transparent 55%),radial-gradient(ellipse at 0% 100%, rgb(0 183 163 / .18) 0, transparent 50%);pointer-events:none}
.contact .wrap{position:relative;text-align:center;max-width:820px}
.contact .kicker{justify-content:center;color:#8f9bb8}
.contact .kicker::before{background:var(--orange)}
.contact h2{margin-left:auto;margin-right:auto}
.contact p{color:#b7c0d6;max-width:52ch;margin:0 auto 30px;font-size:18px}
.contact .mail{display:block;margin-top:24px;font-family:"JetBrains Mono",monospace;font-size:13.5px;color:#8f9bb8;letter-spacing:.02em}

/* ---------- the form ---------- */
.contact .wrap{max-width:1160px;text-align:left}
.contact .wrap .kicker{justify-content:flex-start}
.contact h2{margin-left:0}
.contact p.lede{margin:0 0 0;font-size:18px}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:start}
.contact .aside .mail{margin-top:28px}
.contact .aside .btn{margin-top:26px}
.form{background:rgb(255 255 255 / .05);border:1px solid rgb(255 255 255 / .1);border-radius:var(--r);padding:32px;backdrop-filter:blur(8px)}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form label{display:block;font-size:13px;font-weight:600;color:#b7c0d6;margin:0 0 8px}
.form .field{margin-bottom:18px}
.form input,.form textarea{
  width:100%;font:inherit;font-size:15.5px;color:#fff;background:rgb(255 255 255 / .06);
  border:1px solid rgb(255 255 255 / .14);border-radius:12px;padding:12px 14px;outline:0;
  transition:border-color .15s,background .15s;
}
.form input::placeholder,.form textarea::placeholder{color:#7d88a6}
.form input:focus,.form textarea:focus{border-color:#b79bff;background:rgb(255 255 255 / .09)}
.form textarea{min-height:130px;resize:vertical}
.form .chips{display:flex;flex-wrap:wrap;gap:8px}
.form .chips label{margin:0;font-weight:600;font-size:13.5px;color:#dde3f0;cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid rgb(255 255 255 / .16);background:rgb(255 255 255 / .04);transition:all .15s}
.form .chips input{position:absolute;opacity:0;width:0;height:0}
.form .chips label:has(input:checked){background:#fff;color:var(--navy);border-color:#fff}
.form .chips label:has(input:focus-visible){outline:2px solid #b79bff;outline-offset:2px}
.form .foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-top:6px}
.form .foot small{color:#8f9bb8;font-size:12.5px;max-width:34ch}
.form button{font:inherit;font-weight:600;font-size:15px;color:#fff;background:var(--violet);border:0;border-radius:999px;padding:12px 24px;cursor:pointer;transition:background .2s,transform .2s var(--ease)}
.form button:hover{background:#9a68ff;transform:translateY(-1px)}
.form button[disabled]{opacity:.6;cursor:progress;transform:none}
.form .trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form .note{margin:14px 0 0;font-size:14px;color:#ffb4a8;display:none}
.form .note.show{display:block}
.form .done{display:none;text-align:center;padding:40px 10px}
.form .done b{display:block;font-family:Literata,serif;font-weight:500;font-size:26px;margin-bottom:8px}
.form .done p{color:#b7c0d6;margin:0}
.form.sent form{display:none}.form.sent .done{display:block}
@media (max-width:860px){.contact-grid{grid-template-columns:1fr;gap:36px}.form{padding:24px}.form .row{grid-template-columns:1fr}}

/* ---------- footer ---------- */
footer{padding:36px 0;font-size:14px;color:var(--muted)}
footer .row{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center;justify-content:space-between}
footer .tag{font-family:Literata,serif;font-style:italic;color:var(--ink-2)}

/* ---------- motion ---------- */
/* Sections rise in as they arrive; only once the script is running (html.js),
   so a page without it is simply visible, and never for people who asked
   for less motion. */
@media (prefers-reduced-motion:no-preference){
  .hero>div:first-child,.stage{animation:rise .8s var(--ease) both}
  .stage{animation-delay:.15s}
  @keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
  html.js [data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
  html.js [data-reveal].in{opacity:1;transform:none}
  html.js .services>div[data-reveal]{transition-delay:calc(var(--i,0) * 70ms)}
  /* The stage leans toward the pointer: a few degrees, on devices with a pointer. */
  @media (hover:hover){
    .stage{perspective:1400px}
    .stage .win{transition:transform .5s var(--ease)}
    .stage.tilting .win{transition:transform .12s linear}
  }
}

/* ---------- navy: the mark's own colour is the page ---------- */
:root{--paper:#0a172e;--paper-2:#0d1c37;--ink:#f3f5fa;--ink-2:#b7c0d6;--muted:#8f9bb8;--line:rgb(255 255 255 / .1);--hair:rgb(255 255 255 / .08)}
header{background:rgb(10 23 46 / .78);border-bottom-color:rgb(255 255 255 / .08)}
nav a.cta{background:#fff;color:var(--navy)}
nav a.cta:hover{background:var(--violet);color:#fff}
.lang{background:rgb(255 255 255 / .08)}
.lang button[aria-pressed="true"]{background:#fff;color:var(--navy)}
.hero-band::before{background:
    radial-gradient(ellipse 55% 65% at 10% 0%, rgb(123 63 242 / .42) 0, transparent 60%),
    radial-gradient(ellipse 45% 55% at 95% 8%, rgb(253 116 29 / .22) 0, transparent 55%),
    radial-gradient(ellipse 60% 50% at 55% 115%, rgb(0 183 163 / .16) 0, transparent 60%)}
.hero-band::after{background-image:radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1px)}
.hero h1 em{color:#b79bff}
.kicker::before{background:var(--orange)}
section.tint{background:var(--paper-2)}
section.dark{background:#060f21}
.win{background:#0f1d38;border-color:rgb(255 255 255 / .12);box-shadow:0 40px 90px -36px rgb(0 0 0 / .85), 0 0 0 1px rgb(255 255 255 / .04)}
.win .chrome{background:#132244;border-bottom-color:rgb(255 255 255 / .08)}
.win .chrome span{color:#8f9bb8}
.btn{border-color:rgb(255 255 255 / .7);color:#fff}
.btn:hover{background:#fff;color:var(--navy);border-color:#fff}
.btn.primary{background:var(--violet);border-color:var(--violet);color:#fff}
.btn.primary:hover{background:#9a68ff;border-color:#9a68ff}
.services>div{background:rgb(255 255 255 / .04);border-color:rgb(255 255 255 / .09)}
.services>div:hover{background:rgb(255 255 255 / .06);box-shadow:0 30px 60px -30px rgb(0 0 0 / .8)}
.services svg{stroke:#b79bff}
::selection{background:rgb(123 63 242 / .45)}
footer .tag{color:var(--ink-2)}

/* Hide the wrong language rather than show the right one: every element keeps
   the display it was given, and (0,2,1) outranks any single class. */
html[lang="el"] [data-en],
html[lang="en"] [data-el]{display:none}

@media (max-width:980px){
  .services{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
  section{padding:80px 0}
  .hero{grid-template-columns:1fr;gap:40px;padding:48px 0 72px}
  .stage{max-width:560px}
  .story,.sites,.about{grid-template-columns:1fr;gap:32px}
  .case .top{flex-direction:column;align-items:flex-start}
}
@media (max-width:560px){
  nav a:not(.cta){display:none}
  .burger{display:block}
  nav{gap:10px}
  .lockup .mark{height:30px}.lockup .word{height:16px}
  section{padding:64px 0}
  .services{grid-template-columns:1fr}
  .wrap{padding:0 20px}
}
/* The narrowest phones: the contact link is at the foot of the page anyway. */
@media (max-width:400px){nav a.cta{display:none}}
